<?php
$arr_a
=
array
(0 =>
"a"
, 1 =>
"b"
, 2 =>
"c"
);
$key
array_search
(
,
if
!== FALSE ){
echo
"键名为:$key"
;
}
else
{
'无匹配结果'
?>