Trying to get property of non-object

原文:http://www.jb51.net/article/29878.htm

总结:判断为空用  

if(isset($v)){}
代替
if($v == null){}
posted @ 2017-10-20 16:57  万里冰封  阅读(635)  评论(0编辑  收藏  举报