empty()

只能判断变量。判断有返回值的,或者判断tp3.2中的一些 I() 方法   $_SESSION   $_COOKIE时有时候会报错

原文地址:https://www.cnblogs.com/lmpxs/p/8315700.html