时间:2021-07-01 10:21:17 帮助过:9人阅读
'; } echo '
'; for ($i=1; $i <=9 ; $i++) { $s = 'a'.$i; echo $i . ":"; var_dump(empty($$s)); echo '
'; }
基本上就是这样
http://www.bkjia.com/PHPjc/1070668.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/1070668.htmlTechArticlePHP 关于empty和isset对于参数的判断结果,emptyisset ?phpclass test{}$a1 = null;$a2 = "";//$a3 = $a4 = 0;$a5 = '0';$a6 = false;$a7 = array();//var $a8;$a9 = new test();f...