php 查看数据类型
gettype() //返回变量类型的字符串描述,类似 js 的 typeof ,由于变量类型被多次修改,不建议使用
is_null()
is_bool(var)
is_int(var)
is_float(var)
php 查看数据类型
gettype() //返回变量类型的字符串描述,类似 js 的 typeof ,由于变量类型被多次修改,不建议使用
is_null()
is_bool(var)
is_int(var)
is_float(var)