首页
mac
it
登录
6mi
u
盘
搜
搜 索
it
php 判断数组中是否有重复的值
php 判断数组中是否有重复的值
mac
2022-06-30
86
$input
=
array
(4, "4", "3", 4, 3, "3"
);
$result
=
array_unique
(
$input
);
*/
/*
* array(2) { [0] => int(4) [2] => string(1) "3" } *
*/
转载于:https://www.cnblogs.com/hgj123/p/4535267.html
转载请注明原文地址: https://mac.8miu.com/read-10138.html
最新回复
(
0
)