ң

get_resource_type

(PHP 4 >= 4.0.2)

get_resource_type - .

string get_resource_type (resource handle)

, resource , . resource , .

$c = mysql_connect(); echo get_resource_type($c)."\n"; // : mysql link $fp = fopen("foo","w"); echo get_resource_type($fp)."\n"; // : file $doc = new_xmldoc("1.0"); echo get_resource_type($doc->doc)."\n"; // : domxml document

ң
get_defined_vars gettype