📜  数组搜索一维数组 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:32.651000             🧑  作者: Mango

代码示例1
$a=array("a"=>"red","b"=>"green","c"=>"blue");

echo array_search("red",$a);