原文:http://www.jb51.net/article/29878.htm 总结:判断为空用 if(isset($v)){}代替if($v == null){} 转载于:https://www.cnblogs.com/wanlibingfeng/p/7700349.html