Test results for 5.2.3 [failed]

From: Date: Wed, 18 Jul 2007 20:34:35 +0000
Subject: Test results for 5.2.3 [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-40594@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- imagecreatefromwbmp with invalid wbmp [ext/gd/tests/createfromwbmp2.phpt] Bug #16069 (ICONV transliteration failure) [ext/iconv/tests/bug16069.phpt] iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt] Test array_keys() function [ext/standard/tests/array/array_keys.phpt] Test gettype() & settype() functions : usage variations [ext/standard/tests/general_functions/gettype_settype_variation2.phpt] Generic pack()/unpack() tests [ext/standard/tests/strings/pack.phpt] strripos() offset integer overflow [ext/standard/tests/strings/strripos_offset.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 55 Exts tested : 24 --------------------------------------------------------------------- Number of tests : 3345 2001 Tests skipped : 1344 ( 40.2%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 7 ( 0.2%) ( 0.3%) Tests passed : 1994 ( 59.6%) ( 99.7%) --------------------------------------------------------------------- Time taken : 167 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- imagecreatefromwbmp with invalid wbmp [ext/gd/tests/createfromwbmp2.phpt] Bug #16069 (ICONV transliteration failure) [ext/iconv/tests/bug16069.phpt] iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt] Test array_keys() function [ext/standard/tests/array/array_keys.phpt] Test gettype() & settype() functions : usage variations [ext/standard/tests/general_functions/gettype_settype_variation2.phpt] Generic pack()/unpack() tests [ext/standard/tests/strings/pack.phpt] strripos() offset integer overflow [ext/standard/tests/strings/strripos_offset.phpt] ===================================================================== ================================================================================ /root/linux_10/php-5.2.3/ext/gd/tests/createfromwbmp2.phpt ================================================================================ gd warning: product of memory allocation multiplication would exceed INT_MAX, failing operation gracefully Warning: imagecreatefromwbmp(): '/root/linux_10/php-5.2.3/ext/gd/tests/_tmp.wbmp' is not a valid WBMP file in /root/linux_10/php-5.2.3/ext/gd/tests/createfromwbmp2.php on line 33 ================================================================================ 001+ gd warning: product of memory allocation multiplication would exceed INT_MAX, failing operation gracefully 001- Warning: imagecreatefromwbmp(): gd warning: product of memory allocation multiplication would exceed INT_MAX, failing operation gracefully 002- in %s on line %d ================================================================================ ================================================================================ /root/linux_10/php-5.2.3/ext/iconv/tests/bug16069.phpt ================================================================================ ¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë(¡ë§¥¡ë) ================================================================================ 001+ ¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë(¡ë§¥¡ë) 001- ¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë¥ß¥ê¥Ð¡¼¥ë(¡ë§¥¡ë) ================================================================================ ================================================================================ /root/linux_10/php-5.2.3/ext/iconv/tests/iconv_stream_filter.phpt ================================================================================ string(20) "1b244224332473244b24" string(10) "41244f1b28" string(2) "42" string(20) "a4b3a4f3a4cba4c1a4cf" string(10) "69636f6e76" string(2) "0a" string(20) "1b244f24332466245824" string(10) "4e24421b28" string(2) "4f" ================================================================================ 007+ string(20) "1b244f24332466245824" 008+ string(10) "4e24421b28" 009+ string(2) "4f" 007- 008- Warning: fread(): iconv stream filter ("ISO-2022-JP"=>"EUC-JP"): invalid multibyte sequence in %s on line %d 009- string(0) "" 010- string(0) "" 011- string(0) "" ================================================================================ ================================================================================ /root/linux_10/php-5.2.3/ext/standard/tests/array/array_keys.phpt ================================================================================ *** Testing array_keys() on basic array operation *** array(5) { [0]=> string(1) "a" [1]=> string(1) "b" [2]=> int(2) [3]=> int(-23) [4]=> int(3) } *** Testing array_keys() on various arrays *** -- Iteration 0 -- array(0) { } -- Iteration 1 -- array(1) { [0]=> int(0) } -- Iteration 2 -- array(1) { [0]=> int(0) } -- Iteration 3 -- array(1) { [0]=> string(5) "Hello" } -- Iteration 4 -- array(1) { [0]=> string(0) "" } -- Iteration 5 -- array(4) { [0]=> int(0) [1]=> int(1) [2]=> int(2) [3]=> string(1) "d" } -- Iteration 6 -- array(4) { [0]=> string(1) "a" [1]=> string(1) "b" [2]=> string(1) "c" [3]=> string(1) "d" } -- Iteration 7 -- array(4) { [0]=> int(0) [1]=> int(1) [2]=> int(2) [3]=> int(3) } -- Iteration 8 -- array(5) { [0]=> int(0) [1]=> int(1) [2]=> string(1) "a" [3]=> int(3) [4]=> int(5) } -- Iteration 9 -- array(5) { [0]=> int(1) [1]=> int(0) [2]=> string(0) "" [3]=> int(2) [4]=> int(3) } -- Iteration 10 -- array(3) { [0]=> string(1) "a" [1]=> string(2) "ab" [2]=> string(2) "cd" } -- Iteration 11 -- array(4) { [0]=> int(0) [1]=> int(1) [2]=> int(2) [3]=> string(0) "" } *** Testing array_keys() on all the types other than arrays *** -- Loose type checking -- array(3) { [0]=> int(1) [1]=> int(-1) [2]=> string(3) "php" } -- strict type checking -- array(0) { } -- Loose type checking -- array(4) { [0]=> int(0) [1]=> int(2) [2]=> int(3) [3]=> string(0) "" } -- strict type checking -- array(0) { } -- Loose type checking -- array(1) { [0]=> int(1) } -- strict type checking -- array(0) { } -- Loose type checking -- array(4) { [0]=> int(0) [1]=> int(2) [2]=> string(3) "php" [3]=> string(0) "" } -- strict type checking -- array(0) { } -- Loose type checking -- array(1) { [0]=> int(-1) } -- strict type checking -- array(0) { } -- Loose type checking -- array(1) { [0]=> int(1) } -- strict type checking -- array(1) { [0]=> int(1) } -- Loose type checking -- array(1) { [0]=> int(0) } -- strict type checking -- array(1) { [0]=> int(0) } -- Loose type checking -- array(1) { [0]=> int(-1) } -- strict type checking -- array(1) { [0]=> int(-1) } -- Loose type checking -- array(3) { [0]=> int(2) [1]=> int(3) [2]=> string(0) "" } -- strict type checking -- array(1) { [0]=> int(2) } -- Loose type checking -- array(2) { [0]=> int(2) [1]=> int(3) } -- strict type checking -- array(1) { [0]=> int(3) } -- Loose type checking -- array(1) { [0]=> string(3) "php" } -- strict type checking -- array(1) { [0]=> string(3) "php" } -- Loose type checking -- array(2) { [0]=> int(2) [1]=> string(0) "" } -- strict type checking -- array(1) { [0]=> string(0) "" } *** Testing array_keys() with resource type *** array(1) { [0]=> int(0) } array(1) { [0]=> int(0) } array(1) { [0]=> int(1) } array(1) { [0]=> int(1) } *** Testing array_keys() on range of values *** array(4) { [0]=> int(2147483647) [1]=> int(-2147483647) [2]=> int(-2147483648) [3]=> int(0) } *** Testing array_keys() on an array created on the fly *** array(3) { [0]=> string(1) "a" [1]=> string(1) "b" [2]=> string(1) "c" } array(0) { } *** Testing error conditions *** Warning: array_keys(): The first argument should be an array in /root/linux_10/php-5.2.3/ext/standard/tests/array/array_keys.php on line 89 NULL Warning: array_keys(): The first argument should be an array in /root/linux_10/php-5.2.3/ext/standard/tests/array/array_keys.php on line 90 NULL Warning: array_keys(): The first argument should be an array in /root/linux_10/php-5.2.3/ext/standard/tests/array/array_keys.php on line 91 NULL Warning: Wrong parameter count for array_keys() in /root/linux_10/php-5.2.3/ext/standard/tests/array/array_keys.php on line 92 NULL Warning: Wrong parameter count for array_keys() in /root/linux_10/php-5.2.3/ext/standard/tests/array/array_keys.php on line 93 NULL Warning: Illegal offset type in /root/linux_10/php-5.2.3/ext/standard/tests/array/array_keys.php on line 94 array(3) { [0]=> int(0) [1]=> int(1) [2]=> int(2) } Done ================================================================================ 312+ int(-2147483647) 313+ [2]=> 313- [2]=> 314- int(-2147483647) ================================================================================ ================================================================================ /root/linux_10/php-5.2.3/ext/standard/tests/general_functions/gettype_settype_variation2.phpt ================================================================================ 8: Undefined variable: unset_var 8: Undefined variable: undef_var *** Testing settype() & gettype() : usage variations *** -- Setting type of data to integer -- -- Iteration 1 -- string(4) "NULL" bool(true) int(0) string(7) "integer" -- Iteration 2 -- string(7) "boolean" bool(true) int(0) string(7) "integer" -- Iteration 3 -- string(7) "boolean" bool(true) int(1) string(7) "integer" -- Iteration 4 -- string(7) "boolean" bool(true) int(1) string(7) "integer" -- Iteration 5 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 6 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 7 -- string(6) "string" bool(true) int(3) string(7) "integer" -- Iteration 8 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 9 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 10 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 11 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 12 -- string(6) "string" bool(true) int(10) string(7) "integer" -- Iteration 13 -- string(6) "string" bool(true) int(10) string(7) "integer" -- Iteration 14 -- string(6) "string" bool(true) int(10) string(7) "integer" -- Iteration 15 -- string(6) "string" bool(true) int(10) string(7) "integer" -- Iteration 16 -- string(6) "string" bool(true) int(1) string(7) "integer" -- Iteration 17 -- string(6) "string" bool(true) int(-1) string(7) "integer" -- Iteration 18 -- string(6) "string" bool(true) int(1) string(7) "integer" -- Iteration 19 -- string(6) "string" bool(true) int(1) string(7) "integer" -- Iteration 20 -- string(6) "string" bool(true) int(2147483647) string(7) "integer" -- Iteration 21 -- string(6) "string" bool(true) int(-1) string(7) "integer" -- Iteration 22 -- string(6) "string" bool(true) int(1) string(7) "integer" -- Iteration 23 -- string(6) "string" bool(true) int(-1) string(7) "integer" -- Iteration 24 -- string(6) "string" bool(true) int(1) string(7) "integer" -- Iteration 25 -- string(6) "string" bool(true) int(1) string(7) "integer" -- Iteration 26 -- string(6) "string" bool(true) int(2147483647) string(7) "integer" -- Iteration 27 -- string(6) "string" bool(true) int(-1) string(7) "integer" -- Iteration 28 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 29 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 30 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 31 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 32 -- string(6) "string" bool(true) int(123) string(7) "integer" -- Iteration 33 -- string(6) "string" bool(true) int(123) string(7) "integer" -- Iteration 34 -- string(6) "string" bool(true) int(-123) string(7) "integer" -- Iteration 35 -- string(6) "string" bool(true) int(123) string(7) "integer" -- Iteration 36 -- string(6) "string" bool(true) int(-123) string(7) "integer" -- Iteration 37 -- string(6) "string" bool(true) int(123) string(7) "integer" -- Iteration 38 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 39 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 40 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 41 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 42 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 43 -- string(5) "array" bool(true) int(0) string(7) "integer" -- Iteration 44 -- string(5) "array" bool(true) int(1) string(7) "integer" -- Iteration 45 -- string(5) "array" bool(true) int(1) string(7) "integer" -- Iteration 46 -- string(5) "array" bool(true) int(1) string(7) "integer" -- Iteration 47 -- string(5) "array" bool(true) int(1) string(7) "integer" -- Iteration 48 -- string(6) "double" bool(true) int(-2147483648) string(7) "integer" -- Iteration 49 -- string(7) "integer" bool(true) int(2147483647) string(7) "integer" -- Iteration 50 -- string(6) "double" bool(true) int(-2147483647) string(7) "integer" -- Iteration 51 -- string(6) "double" bool(true) int(-1) string(7) "integer" -- Iteration 52 -- string(7) "integer" bool(true) int(85) string(7) "integer" -- Iteration 53 -- string(6) "double" bool(true) int(-1) string(7) "integer" -- Iteration 54 -- string(7) "integer" bool(true) int(-21903) string(7) "integer" -- Iteration 55 -- string(7) "integer" bool(true) int(365) string(7) "integer" -- Iteration 56 -- string(7) "integer" bool(true) int(-365) string(7) "integer" -- Iteration 57 -- string(6) "double" bool(true) int(-1) string(7) "integer" -- Iteration 58 -- string(6) "double" bool(true) int(100000) string(7) "integer" -- Iteration 59 -- string(6) "double" bool(true) int(-100000) string(7) "integer" -- Iteration 60 -- string(6) "double" bool(true) int(100000) string(7) "integer" -- Iteration 61 -- string(6) "double" bool(true) int(-100000) string(7) "integer" -- Iteration 62 -- string(6) "double" bool(true) int(-1) string(7) "integer" -- Iteration 63 -- string(6) "double" bool(true) int(0) string(7) "integer" -- Iteration 64 -- string(6) "double" bool(true) int(0) string(7) "integer" -- Iteration 65 -- string(6) "double" bool(true) int(500000) string(7) "integer" -- Iteration 66 -- string(6) "double" bool(true) int(-500000) string(7) "integer" -- Iteration 67 -- string(6) "double" bool(true) int(0) string(7) "integer" -- Iteration 68 -- string(6) "double" bool(true) int(500000) string(7) "integer" -- Iteration 69 -- string(6) "double" bool(true) int(-500000) string(7) "integer" -- Iteration 70 -- string(6) "double" bool(true) int(512000) string(7) "integer" -- Iteration 71 -- string(6) "double" bool(true) int(-512000) string(7) "integer" -- Iteration 72 -- string(6) "double" bool(true) int(0) string(7) "integer" -- Iteration 73 -- string(6) "double" bool(true) int(0) string(7) "integer" -- Iteration 74 -- string(6) "double" bool(true) int(512000) string(7) "integer" -- Iteration 75 -- string(6) "double" bool(true) int(-512000) string(7) "integer" -- Iteration 76 -- string(6) "object" 8: Object of class point could not be converted to int bool(true) int(1) string(7) "integer" -- Iteration 77 -- string(6) "object" 8: Object of class point could not be converted to int bool(true) int(1) string(7) "integer" -- Iteration 78 -- string(6) "object" 8: Object of class point could not be converted to int bool(true) int(1) string(7) "integer" -- Iteration 79 -- string(4) "NULL" bool(true) int(0) string(7) "integer" -- Iteration 80 -- string(4) "NULL" bool(true) int(0) string(7) "integer" -- Setting type of data to int -- -- Iteration 1 -- string(4) "NULL" bool(true) int(0) string(7) "integer" -- Iteration 2 -- string(7) "boolean" bool(true) int(0) string(7) "integer" -- Iteration 3 -- string(7) "boolean" bool(true) int(1) string(7) "integer" -- Iteration 4 -- string(7) "boolean" bool(true) int(1) string(7) "integer" -- Iteration 5 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 6 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 7 -- string(6) "string" bool(true) int(3) string(7) "integer" -- Iteration 8 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 9 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 10 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 11 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 12 -- string(6) "string" bool(true) int(10) string(7) "integer" -- Iteration 13 -- string(6) "string" bool(true) int(10) string(7) "integer" -- Iteration 14 -- string(6) "string" bool(true) int(10) string(7) "integer" -- Iteration 15 -- string(6) "string" bool(true) int(10) string(7) "integer" -- Iteration 16 -- string(6) "string" bool(true) int(1) string(7) "integer" -- Iteration 17 -- string(6) "string" bool(true) int(-1) string(7) "integer" -- Iteration 18 -- string(6) "string" bool(true) int(1) string(7) "integer" -- Iteration 19 -- string(6) "string" bool(true) int(1) string(7) "integer" -- Iteration 20 -- string(6) "string" bool(true) int(2147483647) string(7) "integer" -- Iteration 21 -- string(6) "string" bool(true) int(-1) string(7) "integer" -- Iteration 22 -- string(6) "string" bool(true) int(1) string(7) "integer" -- Iteration 23 -- string(6) "string" bool(true) int(-1) string(7) "integer" -- Iteration 24 -- string(6) "string" bool(true) int(1) string(7) "integer" -- Iteration 25 -- string(6) "string" bool(true) int(1) string(7) "integer" -- Iteration 26 -- string(6) "string" bool(true) int(2147483647) string(7) "integer" -- Iteration 27 -- string(6) "string" bool(true) int(-1) string(7) "integer" -- Iteration 28 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 29 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 30 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 31 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 32 -- string(6) "string" bool(true) int(123) string(7) "integer" -- Iteration 33 -- string(6) "string" bool(true) int(123) string(7) "integer" -- Iteration 34 -- string(6) "string" bool(true) int(-123) string(7) "integer" -- Iteration 35 -- string(6) "string" bool(true) int(123) string(7) "integer" -- Iteration 36 -- string(6) "string" bool(true) int(-123) string(7) "integer" -- Iteration 37 -- string(6) "string" bool(true) int(123) string(7) "integer" -- Iteration 38 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 39 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 40 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 41 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 42 -- string(6) "string" bool(true) int(0) string(7) "integer" -- Iteration 43 -- string(5) "array" bool(true) int(0) string(7) "integer" -- Iteration 44 -- string(5) "array" bool(true) int(1) string(7) "integer" -- Iteration 45 -- string(5) "array" bool(true) int(1) string(7) "integer" -- Iteration 46 -- string(5) "array" bool(true) int(1) string(7) "integer" -- Iteration 47 -- string(5) "array" bool(true) int(1) string(7) "integer" -- Iteration 48 -- string(6) "double" bool(true) int(-2147483648) string(7) "integer" -- Iteration 49 -- string(7) "integer" bool(true) int(2147483647) string(7) "integer" -- Iteration 50 -- string(6) "double" bool(true) int(-2147483647) string(7) "integer" -- Iteration 51 -- string(6) "double" bool(true) int(-1) string(7) "integer" -- Iteration 52 -- string(7) "integer" bool(true) int(85) string(7) "integer" -- Iteration 53 -- string(6) "double" bool(true) int(-1) string(7) "integer" -- Iteration 54 -- string(7) "integer" bool(true) int(-21903) string(7) "integer" -- Iteration 55 -- string(7) "integer" bool(true) int(365) string(7) "integer" -- Iteration 56 -- string(7) "integer" bool(true) int(-365) string(7) "integer" -- Iteration 57 -- string(6) "double" bool(true) int(-1) string(7) "integer" -- Iteration 58 -- string(6) "double" bool(true) int(100000) string(7) "integer" -- Iteration 59 -- string(6) "double" bool(true) int(-100000) string(7) "integer" -- Iteration 60 -- string(6) "double" bool(true) int(100000) string(7) "integer" -- Iteration 61 -- string(6) "double" bool(true) int(-100000) string(7) "integer" -- Iteration 62 -- string(6) "double" bool(true) int(-1) string(7) "integer" -- Iteration 63 -- string(6) "double" bool(true) int(0) string(7) "integer" -- Iteration 64 -- string(6) "double" bool(true) int(0) string(7) "integer" -- Iteration 65 -- string(6) "double" bool(true) int(500000) string(7) "integer" -- Iteration 66 -- string(6) "double" bool(true) int(-500000) string(7) "integer" -- Iteration 67 -- string(6) "double" bool(true) int(0) string(7) "integer" -- Iteration 68 -- string(6) "double" bool(true) int(500000) string(7) "integer" -- Iteration 69 -- string(6) "double" bool(true) int(-500000) string(7) "integer" -- Iteration 70 -- string(6) "double" bool(true) int(512000) string(7) "integer" -- Iteration 71 -- string(6) "double" bool(true) int(-512000) string(7) "integer" -- Iteration 72 -- string(6) "double" bool(true) int(0) string(7) "integer" -- Iteration 73 -- string(6) "double" bool(true) int(0) string(7) "integer" -- Iteration 74 -- string(6) "double" bool(true) int(512000) string(7) "integer" -- Iteration 75 -- string(6) "double" bool(true) int(-512000) string(7) "integer" -- Iteration 76 -- string(6) "object" 8: Object of class point could not be converted to int bool(true) int(1) string(7) "integer" -- Iteration 77 -- string(6) "object" 8: Object of class point could not be converted to int bool(true) int(1) string(7) "integer" -- Iteration 78 -- string(6) "object" 8: Object of class point could not be converted to int bool(true) int(1) string(7) "integer" -- Iteration 79 -- string(4) "NULL" bool(true) int(0) string(7) "integer" -- Iteration 80 -- string(4) "NULL" bool(true) int(0) string(7) "integer" Done ================================================================================ 260+ int(-1) 260- int(-508130303) 270+ int(-1) 270- int(1952002105) 290+ int(-1) 290- int(343000682) 665+ int(-1) 665- int(-508130303) 675+ int(-1) 675- int(1952002105) 695+ int(-1) 695- int(343000682) ================================================================================ ================================================================================ /root/linux_10/php-5.2.3/ext/standard/tests/strings/pack.phpt ================================================================================ Array ( [1] => h ) Array ( [1] => hello world ) "hello " Array ( [1] => 129 ) Array ( [1] => 127 ) Array ( [1] => 255 ) Array ( [1] => 127 ) Array ( [1] => 4 ) Array ( [1] => 65534 ) Array ( [1] => 0 ) Array ( [1] => -1000 ) Array ( [1] => -64434 ) Array ( [1] => -1 ) Array ( [1] => -2147483648 ) Array ( [1] => 65534 ) Array ( [1] => 0 ) Array ( [1] => -2147483646 ) Array ( [1] => -1 ) Ar

« previous php.qa (#40594) next »