PHP 教程
PHP 可用的函數(shù)
get_resource_type() 返回資源(resource)類型。
版本要求:PHP 4 >= 4.0.2, PHP 5, PHP 7
string get_resource_type ( resource $handle )
參數(shù)說明:
此函數(shù)返回一個(gè)字符串,用于表示傳遞給它的 resource 的類型。如果參數(shù)不是合法的 resource,將產(chǎn)生錯(cuò)誤。