$imagetype_filenames = array(
// GIF file
- "GIF image file" => "200x100.GIF",
+ "GIF image file" => "200x100.gif",
//JPEG file
- "JPEG image file" => "200x100.JPG",
+ "JPEG image file" => "200x100.jpg",
//PNG file
- "PNG image file" => "200x100.PNG",
+ "PNG image file" => "200x100.png",
//SWF file
"SWF image file" => "200x100.swf",
"BMP image file" => "200x100.bmp",
//TIFF intel byte order
- "TIFF intel byte order image file" => "200x100.TIF",
+ "TIFF intel byte order image file" => "200x100.tif",
//JPC file
"JPC image file" => "test1pix.jpc",
"IFF image file" => "test4pix.iff"
);
-
echo "*** Testing getimagesize() : basic functionality ***\n";
// loop through each element of the array for imagetype
--EXPECTF--
*** Testing getimagesize() : basic functionality ***
--- GIF image file (200x100.GIF) --
+-- GIF image file (200x100.gif) --
array(7) {
[0]=>
int(200)
array(0) {
}
--- JPEG image file (200x100.JPG) --
+-- JPEG image file (200x100.jpg) --
array(7) {
[0]=>
int(200)
}
array(1) {
[u"APP0"]=>
- unicode(14)%sJFIF%s
+ unicode(14) "JFIF%s"
}
--- PNG image file (200x100.PNG) --
+-- PNG image file (200x100.png) --
array(6) {
[0]=>
int(200)
array(0) {
}
--- TIFF intel byte order image file (200x100.TIF) --
+-- TIFF intel byte order image file (200x100.tif) --
array(5) {
[0]=>
int(200)