YouTip LogoYouTip

Php Get_Resource_Type Function

# PHP get_resource_type() Function [![Image 3: PHP Available Functions](#)PHP Available Functions](#) **get_resource_type()** returns the type of a resource. Version Requirement: PHP 4 >= 4.0.2, PHP 5, PHP 7 ### Syntax string get_resource_type ( resource $handle ) Parameter Description: * $handle: The 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. ### Example ## Example doc) . PHP_EOL; // Prints: domxml document?> [![Image 4: PHP Available Functions](#)PHP Available Functions](#)
← Php Import_Request_Variables FPhp Empty Function β†’