1--TEST-- 2Test exif_imagetype() function : error conditions 3--EXTENSIONS-- 4exif 5--FILE-- 6<?php 7 8echo "*** Testing exif_imagetype() : error conditions ***\n"; 9 10echo "\n-- Testing exif_imagetype() function with an unknown file --\n"; 11var_dump( exif_imagetype(__DIR__.'/foo.jpg') ); 12 13 14?> 15--EXPECTF-- 16*** Testing exif_imagetype() : error conditions *** 17 18-- Testing exif_imagetype() function with an unknown file -- 19 20Warning: exif_imagetype(%s/foo.jpg): Failed to open stream: No such file or directory in %s on line %d 21bool(false) 22