PHP Tutorial - PHP is_resource() function






is_resource(value)Returns true if value is a resource.

Syntax

is_resource(value)

Parameter

value is the variable being type checked.

Return

PHP is_resource() function returns true if value is a resource.