is_resource
检测变量是否为资源类型
(
PHP 4, PHP 5
)
bool
is_resource
(
mixed
var
)
描述
如果给出的参数
var
是
resource
类型,
is_resource()
返回
TRUE
,否则返回
FALSE
。
查看
resource
类型文档获取更多的信息。
<< is_real
Main
:
函数参考
:
Variable 变量函数
: is_resource
is_scalar >>
This page online
Report a bug