if($a)

 if($a)效果等同 if(!empty($a));
原文地址:https://www.cnblogs.com/xiaobiaomei/p/8127103.html