PHP 忒聊 綴豖 ヶ輛 get_resource_type (PHP 4 = 4.0.2) Description This function returns a string representing the type of the resource passed to it. If the paramater is not a valid resource, it generates an error. $c = mysql_connect(); echo get_resource_type($c)."\n"; // prints: mysql link $fp = fopen("foo","w"); echo get_resource_type($fp)."\n"; // prints: file $doc = new_xmldoc("1.0"); echo get_resource_type($doc- doc)."\n"; // prints: domxml document 綴豖 れ萸 ヶ輛 get_defined_vars 奻珨撰 gettype