摘要: isset empty 参数可以是未定义的变量,不会产生警告。 isset 参数只能是变量,不能是数据。 empty($arr[x]) x是未定义元素,也不会产生警告,当$aa = $arr[x]就会产生警告了。 empty(), is_null(), isset()(区别) 阅读全文
posted @ 2017-10-13 00:02 wahgon 阅读(294) 评论(0) 推荐(0) 编辑