php中未定义变量的使用 在php中,若变量$test没有定义,则: empty($test)返回true; !empty($test)返回false; 具体可参考http://www.jb51.net/article/24666.htm