Lines Matching refs:finfo_close
2 Test finfo_close() function : error conditions
7 /* Prototype : resource finfo_close(resource finfo)
13 echo "*** Testing finfo_close() : error conditions ***\n";
19 echo "\n-- Testing finfo_close() function with Zero arguments --\n";
20 var_dump( finfo_close() );
22 echo "\n-- Testing finfo_close() function with more than expected no. of arguments --\n";
23 var_dump( finfo_close( $finfo, '10') );
25 echo "\n-- Testing finfo_close() function with wrong resource type --\n";
26 var_dump( finfo_close( $fp ) );
31 *** Testing finfo_close() : error conditions ***
33 -- Testing finfo_close() function with Zero arguments --
35 Warning: finfo_close() expects exactly 1 parameter, 0 given in %s on line %d
38 -- Testing finfo_close() function with more than expected no. of arguments --
40 Warning: finfo_close() expects exactly 1 parameter, 2 given in %s on line %d
43 -- Testing finfo_close() function with wrong resource type --
45 Warning: finfo_close(): supplied resource is not a valid file_info resource in %s on line %d