解决方法: <?php function ch_k_v($a,$aa){//$a:表示钱的"test",$aa表示数组 $data=array(); if (array_key_exists($a,$aa)) {//存在键key
確定! 回上一頁