Home  >  Article  >  Backend Development  >  array_keys()b函数?该怎么解决

array_keys()b函数?该怎么解决

WBOY
WBOYOriginal
2016-06-13 12:36:05913browse

array_keys()b函数?
http://docs.php.net/manual/zh/function.array-keys.php

<br />
<?<br />
   $x=array("1"=>"aa","2"=>"bb","3"=>"cc","4"=>"bb");<br />
   $y1=array_keys($x,bb,false);<br />
   $y2=array_keys($x,bb,true);<br />
   print_r($x);<br />
   print_r($y1);<br />
   print_r($y2);<br />
?><br />




函数第3个参数,有什么作用?
程序为什么出错了?



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn