diff options
Diffstat (limited to 'ext/standard/tests/image')
-rw-r--r-- | ext/standard/tests/image/image_type_to_extension.phpt | 2 | ||||
-rw-r--r-- | ext/standard/tests/image/image_type_to_mime_type_variation1.phpt | 18 | ||||
-rw-r--r-- | ext/standard/tests/image/test1bpix.bmp | bin | 690138 -> 690138 bytes |
3 files changed, 11 insertions, 9 deletions
diff --git a/ext/standard/tests/image/image_type_to_extension.phpt b/ext/standard/tests/image/image_type_to_extension.phpt index 31bcfd612a..c668e3408d 100644 --- a/ext/standard/tests/image/image_type_to_extension.phpt +++ b/ext/standard/tests/image/image_type_to_extension.phpt @@ -90,7 +90,7 @@ Constant: IMAGETYPE_XBM Warning: image_type_to_extension() expects parameter 2 to be boolean, array given in %s on line %d bool(false) -Warning: image_type_to_extension() expects parameter 1 to be long, object given in %s on line %d +Warning: image_type_to_extension() expects parameter 1 to be integer, object given in %s on line %d bool(false) bool(false) diff --git a/ext/standard/tests/image/image_type_to_mime_type_variation1.phpt b/ext/standard/tests/image/image_type_to_mime_type_variation1.phpt index 0023b7125d..ccff8645e6 100644 --- a/ext/standard/tests/image/image_type_to_mime_type_variation1.phpt +++ b/ext/standard/tests/image/image_type_to_mime_type_variation1.phpt @@ -1,5 +1,7 @@ --TEST-- Test image_type_to_mime_type() function : usage variations - Pass different data types as imagetype +--SKIPIF-- +<?php if (PHP_INT_SIZE != 8) die("skip this test is for 64-bit only"); --FILE-- <?php /* Prototype : string image_type_to_mime_type(int imagetype) @@ -93,12 +95,12 @@ string(24) "application/octet-stream" -- Iteration 6 -- -Warning: image_type_to_mime_type() expects parameter 1 to be long, array given in %s on line %d +Warning: image_type_to_mime_type() expects parameter 1 to be integer, array given in %s on line %d NULL -- Iteration 7 -- -Warning: image_type_to_mime_type() expects parameter 1 to be long, array given in %s on line %d +Warning: image_type_to_mime_type() expects parameter 1 to be integer, array given in %s on line %d NULL -- Iteration 8 -- @@ -121,27 +123,27 @@ string(24) "application/octet-stream" -- Iteration 14 -- -Warning: image_type_to_mime_type() expects parameter 1 to be long, string given in %s on line %d +Warning: image_type_to_mime_type() expects parameter 1 to be integer, string given in %s on line %d NULL -- Iteration 15 -- -Warning: image_type_to_mime_type() expects parameter 1 to be long, string given in %s on line %d +Warning: image_type_to_mime_type() expects parameter 1 to be integer, string given in %s on line %d NULL -- Iteration 16 -- -Warning: image_type_to_mime_type() expects parameter 1 to be long, string given in %s on line %d +Warning: image_type_to_mime_type() expects parameter 1 to be integer, string given in %s on line %d NULL -- Iteration 17 -- -Warning: image_type_to_mime_type() expects parameter 1 to be long, string given in %s on line %d +Warning: image_type_to_mime_type() expects parameter 1 to be integer, string given in %s on line %d NULL -- Iteration 18 -- -Warning: image_type_to_mime_type() expects parameter 1 to be long, object given in %s on line %d +Warning: image_type_to_mime_type() expects parameter 1 to be integer, object given in %s on line %d NULL -- Iteration 19 -- @@ -149,4 +151,4 @@ string(24) "application/octet-stream" -- Iteration 20 -- string(24) "application/octet-stream" -===DONE===
\ No newline at end of file +===DONE=== diff --git a/ext/standard/tests/image/test1bpix.bmp b/ext/standard/tests/image/test1bpix.bmp Binary files differindex 5522e503d2..ddac2a0dda 100644 --- a/ext/standard/tests/image/test1bpix.bmp +++ b/ext/standard/tests/image/test1bpix.bmp |