2 /* Prototype : string get_resource_type ( resource $handle )
3 * Description: Returns the resource type
4 * Source code: Zend/zend_builtin_functions.c
7 echo "*** Testing get_resource_type() : error conditions ***\n";
9 echo "\n-- Testing get_resource_type() function with Zero arguments --\n";
10 var_dump( get_resource_type() );
12 echo "\n-- Testing get_resource_type() function with more than expected no. of arguments --\n";
13 $res = fopen(__FILE__
, "r");
15 var_dump( get_resource_type($res, $extra_arg) );