PHP get_resource_type() Function
get_resource_type() Returns a resource type.
Version requirement: PHP 4 >= 4.0.2, PHP 5, PHP 7
Syntax
string get_resource_type ( resource $handle )
Parameter Description:
- $handle: handle.
Return Value
This function returns a string representing the type of the resource passed to it. If the argument is not a valid resource, an error will be generated.
Available PHP Functions