Searched refs:get_resource_type (Results 1 – 25 of 39) sorted by last modified time
12
77 $string1 = get_resource_type($file1);78 $string2 = (int)get_resource_type($file1); // converting stream type to int
87 $string1 = get_resource_type($file1);88 $string2 = (int)get_resource_type($file1); // converting stream type to int
72 $string1 = get_resource_type($file1);73 $string2 = get_resource_type($file2);74 $string3 = (int)get_resource_type($file2);
106 $string1 = get_resource_type($file1);107 $string2 = (int)get_resource_type($file1); // converting stream type to int
15 var_dump( get_resource_type(true, $extra_arg) );24 Warning: get_resource_type() expects exactly 1 parameter, 2 given in %s on line %d
2 Test get_resource_type() function : basic functionality 5 /* Prototype : string get_resource_type ( resource $handle )10 echo "*** Testing get_resource_type() : basic functionality ***\n";13 var_dump(get_resource_type($res)); 18 *** Testing get_resource_type() : basic functionality ***
2 Test get_resource_type() function : error conditions 5 /* Prototype : string get_resource_type ( resource $handle )10 echo "*** Testing get_resource_type() : error conditions ***\n";12 echo "\n-- Testing get_resource_type() function with Zero arguments --\n";13 var_dump( get_resource_type() );18 var_dump( get_resource_type($res, $extra_arg) );23 *** Testing get_resource_type() : error conditions ***25 -- Testing get_resource_type() function with Zero arguments --27 Warning: get_resource_type() expects exactly 1 parameter, 0 given in %s on line %d30 -- Testing get_resource_type() function with more than expected no. of arguments --[all …]
2 Test get_resource_type() function : usage variations - different data types as handle arg5 /* Prototype : string get_resource_type ( resource $handle )10 echo "*** Testing get_resource_type() : variation test ***\n";32 var_dump(get_resource_type($object));38 *** Testing get_resource_type() : variation test ***42 Warning: get_resource_type() expects parameter 1 to be resource, boolean given in %s on line %d47 Warning: get_resource_type() expects parameter 1 to be resource, integer given in %s on line %d52 Warning: get_resource_type() expects parameter 1 to be resource, double given in %s on line %d57 Warning: get_resource_type() expects parameter 1 to be resource, string given in %s on line %d62 Warning: get_resource_type() expects parameter 1 to be resource, array given in %s on line %d[all …]
32 var_dump( get_resource_type($file_handle) ); //Check for the type of resource37 var_dump( get_resource_type($file_handle) ); //Check whether resource is lost after close operation
32 var_dump( get_resource_type($file_handle) ); //Check for the type of resource39 var_dump( get_resource_type($file_handle) ); //Check whether resource is lost after close operation
38 var_dump( get_resource_type($file_handle) ); //Check for the type of resource46 var_dump( get_resource_type($file_handle) ); //Check whether resource is lost after close operation
37 var_dump( get_resource_type($file_handle) ); //Check for the type of resource43 var_dump( get_resource_type($file_handle) ); //Check whether resource is lost after close operation
32 var_dump( get_resource_type($file_handle) ); //Check for the type of resource38 var_dump( get_resource_type($file_handle) ); //Check whether resource is lost after close operation
30 var_dump( get_resource_type($file_handle) ); //Check for the type of resource38 var_dump( get_resource_type($file_handle) ); //Check whether resource is lost after close operation
33 var_dump( get_resource_type($file_handle) ); //Check for the type of resource41 var_dump( get_resource_type($file_handle) ); //Check whether resource is lost after close operation
Completed in 95 milliseconds