From: Ilia Alshanetsky Date: Thu, 7 Nov 2002 16:38:57 +0000 (+0000) Subject: Added swf and swc (compressed swf) test cases and added 'bits' portion to X-Git-Tag: php-4.3.0RC1~201 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd41e0503d264306c82e8088f93fa48d49206bdb;p=php Added swf and swc (compressed swf) test cases and added 'bits' portion to the expected bmp test results. --- diff --git a/ext/standard/tests/image/getimagesize.phpt b/ext/standard/tests/image/getimagesize.phpt index 3a543a7991..8e107a6f48 100644 --- a/ext/standard/tests/image/getimagesize.phpt +++ b/ext/standard/tests/image/getimagesize.phpt @@ -23,9 +23,22 @@ GetImageSize() var_dump($result); ?> --EXPECT-- -array(9) { - ["test1pix.bmp"]=> +array(11) { + ["test13pix.swf"]=> array(5) { + [0]=> + int(550) + [1]=> + int(400) + [2]=> + int(13) + [3]=> + string(24) "width="550" height="400"" + ["mime"]=> + string(29) "application/x-shockwave-flash" + } + ["test1pix.bmp"]=> + array(6) { [0]=> int(1) [1]=> @@ -34,6 +47,8 @@ array(9) { int(6) [3]=> string(20) "width="1" height="1"" + ["bits"]=> + int(24) ["mime"]=> string(9) "image/bmp" } @@ -144,6 +159,19 @@ array(9) { ["mime"]=> string(9) "image/psd" } + ["test4pix.swf"]=> + array(5) { + [0]=> + int(550) + [1]=> + int(400) + [2]=> + int(4) + [3]=> + string(24) "width="550" height="400"" + ["mime"]=> + string(29) "application/x-shockwave-flash" + } ["test4pix.tif"]=> array(5) { [0]=> @@ -157,4 +185,4 @@ array(9) { ["mime"]=> string(10) "image/tiff" } -} \ No newline at end of file +} diff --git a/ext/standard/tests/image/test13pix.swf b/ext/standard/tests/image/test13pix.swf new file mode 100755 index 0000000000..0d40cb743e Binary files /dev/null and b/ext/standard/tests/image/test13pix.swf differ diff --git a/ext/standard/tests/image/test4pix.swf b/ext/standard/tests/image/test4pix.swf new file mode 100755 index 0000000000..b1d41c6766 Binary files /dev/null and b/ext/standard/tests/image/test4pix.swf differ