标签:
在php中,若变量$test没有定义,则:
empty($test)返回true;
!empty($test)返回false;
具体可参考http://www.jb51.net/article/24666.htm
php中未定义变量的使用
原文地址:http://www.cnblogs.com/nerrissa/p/4497281.html