"1111","2"=>"2222","3"=>"3333" ); if (isset($name[0]["1"])) {">
时间:2021-07-01 10:21:17 帮助过:2人阅读
$name[0]= array("1"=>"1111","2"=>"2222","3"=>"3333" ); if (isset($name[0]["1"])) { echo "wancheng fuzhi "; echo $name[0][1].$name[0].$name[0]; } else echo "fffffffffff";
前面加
$name = array();
前面加
$name = array(); 瞬间就懂了 谢谢
$name[0]= array("1"=>"1111","2"=>"2222","3"=>"3333"); if (isset($name[0][1])) { echo "wancheng fuzhi "; echo $name[0][2].$name[0].$name[0]; } else echo "fffffffffff";
php版本?至少我的5.3.2是运行正常的
我的运行结果是这样的:
wancheng fuzhi 1111ArrayArray