is_resource

is_resource

(PHP 4, PHP 5, PHP 7)

is_resource Finds whether a variable is a resource

Description

bool is_resource ( mixed $var )

Finds whether the given variable is a resource.

Parameters

var

The variable being evaluated.

Return Values

Returns TRUE if 登录查看完整内容