php 中的isnull()
PHP 2009/9/3 15:42:02 点击:不统计
php 中的isnull()
关键词:php isnull ,isnull中的各类值
比如:$X为一个变量,在一下赋值中 isnull返回的内容
变量 返回值
$x =""; false
$x =null; true
var $x;(not set) true
$x =array(); false
$x =false; false
$x =15; false
$x =1; false
$x =0; false
$x =-1; false
$x ="15"; false
$x ="1"; false
$x ="0"; false
$x ="-1"; false
$x ="foo"; false
$x ="true"; false
$x ="false"; false
·上一篇:php 中的empty() >> ·下一篇:php 中的isSet() >>