Lines Matching refs:image_type_to_mime_type
2 Test image_type_to_mime_type() function : error conditions - Pass incorrect number of arguments
5 /* Prototype : proto string image_type_to_mime_type(int imagetype)
12 echo "*** Testing image_type_to_mime_type() : error conditions ***\n";
15 echo "\n-- Testing image_type_to_mime_type() function with Zero arguments --\n";
16 var_dump( image_type_to_mime_type() );
18 //Test image_type_to_mime_type with one more than the expected number of arguments
19 echo "\n-- Testing image_type_to_mime_type() function with more than expected no. of arguments --\n…
20 var_dump( image_type_to_mime_type($imagetype, $extra_arg) );
24 *** Testing image_type_to_mime_type() : error conditions ***
26 -- Testing image_type_to_mime_type() function with Zero arguments --
28 Warning: image_type_to_mime_type() expects exactly 1 parameter, 0 given in %simage_type_to_mime_typ…
31 -- Testing image_type_to_mime_type() function with more than expected no. of arguments --
33 Warning: image_type_to_mime_type() expects exactly 1 parameter, 2 given in %simage_type_to_mime_typ…