日期:2014-05-17 浏览次数:20397 次
Array ( [0] => 65 [1] => 66 [2] => 71 [3] => 73 [65] => Array ( [$_65] => 0 ) [66] => Array ( [$_66] => 0 ) [71] => Array ( [$_71] => 0 ) [73] => Array ( [$_73] => 1 ) )
Array ( [0] => 65 [1] => 66 [65] => Array ( [$_65] => 0 ) [66] => Array ( [$_66] => 0 ) )
$ar=Array ( '0' => 65 , '1' => 66 , '65' => Array ( '$_65' => 0 ) , '66' => Array ( '$_66' => 0 ) ) ; foreach($ar as $v){ if(is_array($v)){ foreach($v as $kl=>$vl) eval("$kl=$vl;"); } } var_dump($_65,$_66); //int(0) int(0)