in_array() 函数在 PHP 中的使用

in_array() 函数在 PHP 中的使用

in_array() 函数检查数组中是否存在指定的值。

语法

in_array(find, arr, type)登录后复制