Lines Matching refs:getimagesize
2 Test getimagesize() function : error conditions - wrong number of args
5 /* Prototype : proto array getimagesize(string imagefile [, array info])
11 echo "*** Testing getimagesize() : error conditions ***\n";
14 echo "\n-- Testing getimagesize() function with Zero arguments --\n";
15 var_dump( getimagesize() );
17 //Test getimagesize with one more than the expected number of arguments
18 echo "\n-- Testing getimagesize() function with more than expected no. of arguments --\n";
22 var_dump( getimagesize($imagefile, $info, $extra_arg) );
27 *** Testing getimagesize() : error conditions ***
29 -- Testing getimagesize() function with Zero arguments --
31 Warning: getimagesize() expects at least 1 parameter, 0 given in %s on line %d
34 -- Testing getimagesize() function with more than expected no. of arguments --
36 Warning: getimagesize() expects at most 2 parameters, 3 given in %s on line %d