Test results for 5.2.5 [failed]

From: Date: Fri, 16 Nov 2007 00:40:26 +0000
Subject: Test results for 5.2.5 [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-52248@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #38474 (getAttribute select attribute by order, even when prefixed) (OK to fail with libxml2 < 2.6.2x) [ext/dom/tests/bug38474.phpt] iconv() charset parameter length checks (CVE-2007-4840) [ext/iconv/tests/iconv-charset-length-cve-2007-4840.phpt] iconv_mime_decode() charset parameter length checks (CVE-2007-4840) [ext/iconv/tests/iconv_mime_decode-charset-length-cve-2007-4840.phpt] iconv_mime_decode_headers() charset parameter length checks (CVE-2007-4840) [ext/iconv/tests/iconv_mime_decode_headers-charset-length-cve-2007-4840.phpt] iconv_set_encoding() charset parameter length checks (CVE-2007-4840) [ext/iconv/tests/iconv_set_encoding-charset-length-cve-2007-4840.phpt] iconv_strlen() charset parameter length checks (CVE-2007-4840) [ext/iconv/tests/iconv_strlen-charset-length-cve-2007-4840.phpt] iconv_strpos() charset parameter length checks (CVE-2007-4840) [ext/iconv/tests/iconv_strpos-charset-length-cve-2007-4840.phpt] iconv_strrpos() charset parameter length checks (CVE-2007-4840) [ext/iconv/tests/iconv_strrpos-charset-length-cve-2007-4840.phpt] ob_iconv_handler() charset parameter length checks (CVE-2007-4840) [ext/iconv/tests/ob_iconv_handler-charset-length-cve-2007-4840.phpt] Bug #41567 (json_encode() double conversion is inconsistent with PHP) [ext/json/tests/bug41567.phpt] Test array_reverse() function : usage variations - assoc. array with diff. value for 'array' argument [ext/standard/tests/array/array_reverse_variation5.phpt] Test array_unshift() function : usage variations - assoc. array with diff values for 'array' argument [ext/standard/tests/array/array_unshift_variation5.phpt] Bug #22414 (passthru() does not read data correctly) [ext/standard/tests/file/bug22414.phpt] Test readlink() and realpath functions: basic functionality - diff. path notation for links(Bug #42038) [ext/standard/tests/file/readlink_realpath_basic1.phpt] Test readlink() and realpath() functions: usage variation - linkname/filename stored in object(Bug #42038) [ext/standard/tests/file/readlink_realpath_variation1.phpt] Test readlink() and realpath() functions: usage variation - linkname/filename stored in array(Bug #42038) [ext/standard/tests/file/readlink_realpath_variation2.phpt] Userstream unlink, rename, mkdir, rmdir, and url_stat. [ext/standard/tests/file/userwrapper.phpt] dl() filename length checks (CVE-2007-4887) [ext/standard/tests/general_functions/dl-cve-2007-4887.phpt] proc_open [ext/standard/tests/general_functions/proc_open02.phpt] Bug #20134 (UDP reads from invalid ports) [ext/standard/tests/network/bug20134.phpt] money_format test [ext/standard/tests/strings/moneyformat.phpt] Test setlocale() function : basic functionality - setting system locale to a specific [ext/standard/tests/strings/setlocale_basic1.phpt] Test setlocale() function : basic functionality - set locale using an array [ext/standard/tests/strings/setlocale_basic2.phpt] Test setlocale() function : basic functionality - passing multiple locales as argument [ext/standard/tests/strings/setlocale_basic3.phpt] Test setlocale() function : usage variations - passing multiple valid/invlaid locales as argument [ext/standard/tests/strings/setlocale_variation1.phpt] Test setlocale() function : usage variations - Setting all available locales in the platform [ext/standard/tests/strings/setlocale_variation2.phpt] Test setlocale() function : usage variations - setting system locale = 0 [ext/standard/tests/strings/setlocale_variation3.phpt] Test setlocale() function : usage variations - setting system locale as null [ext/standard/tests/strings/setlocale_variation4.phpt] Test setlocale() function : usage variations - Setting system locale as empty string [ext/standard/tests/strings/setlocale_variation5.phpt] Test vsprintf() function : usage variations - string formats with non-string values [ext/standard/tests/strings/vsprintf_variation8.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 51 Exts tested : 28 --------------------------------------------------------------------- Number of tests : 4566 3064 Tests skipped : 1502 ( 32.9%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 30 ( 0.7%) ( 1.0%) Tests passed : 3034 ( 66.4%) ( 99.0%) --------------------------------------------------------------------- Time taken : 375 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #38474 (getAttribute select attribute by order, even when prefixed) (OK to fail with libxml2 < 2.6.2x) [ext/dom/tests/bug38474.phpt] iconv() charset parameter length checks (CVE-2007-4840) [ext/iconv/tests/iconv-charset-length-cve-2007-4840.phpt] iconv_mime_decode() charset parameter length checks (CVE-2007-4840) [ext/iconv/tests/iconv_mime_decode-charset-length-cve-2007-4840.phpt] iconv_mime_decode_headers() charset parameter length checks (CVE-2007-4840) [ext/iconv/tests/iconv_mime_decode_headers-charset-length-cve-2007-4840.phpt] iconv_set_encoding() charset parameter length checks (CVE-2007-4840) [ext/iconv/tests/iconv_set_encoding-charset-length-cve-2007-4840.phpt] iconv_strlen() charset parameter length checks (CVE-2007-4840) [ext/iconv/tests/iconv_strlen-charset-length-cve-2007-4840.phpt] iconv_strpos() charset parameter length checks (CVE-2007-4840) [ext/iconv/tests/iconv_strpos-charset-length-cve-2007-4840.phpt] iconv_strrpos() charset parameter length checks (CVE-2007-4840) [ext/iconv/tests/iconv_strrpos-charset-length-cve-2007-4840.phpt] ob_iconv_handler() charset parameter length checks (CVE-2007-4840) [ext/iconv/tests/ob_iconv_handler-charset-length-cve-2007-4840.phpt] Bug #41567 (json_encode() double conversion is inconsistent with PHP) [ext/json/tests/bug41567.phpt] Test array_reverse() function : usage variations - assoc. array with diff. value for 'array' argument [ext/standard/tests/array/array_reverse_variation5.phpt] Test array_unshift() function : usage variations - assoc. array with diff values for 'array' argument [ext/standard/tests/array/array_unshift_variation5.phpt] Bug #22414 (passthru() does not read data correctly) [ext/standard/tests/file/bug22414.phpt] Test readlink() and realpath functions: basic functionality - diff. path notation for links(Bug #42038) [ext/standard/tests/file/readlink_realpath_basic1.phpt] Test readlink() and realpath() functions: usage variation - linkname/filename stored in object(Bug #42038) [ext/standard/tests/file/readlink_realpath_variation1.phpt] Test readlink() and realpath() functions: usage variation - linkname/filename stored in array(Bug #42038) [ext/standard/tests/file/readlink_realpath_variation2.phpt] Userstream unlink, rename, mkdir, rmdir, and url_stat. [ext/standard/tests/file/userwrapper.phpt] dl() filename length checks (CVE-2007-4887) [ext/standard/tests/general_functions/dl-cve-2007-4887.phpt] proc_open [ext/standard/tests/general_functions/proc_open02.phpt] Bug #20134 (UDP reads from invalid ports) [ext/standard/tests/network/bug20134.phpt] money_format test [ext/standard/tests/strings/moneyformat.phpt] Test setlocale() function : basic functionality - setting system locale to a specific [ext/standard/tests/strings/setlocale_basic1.phpt] Test setlocale() function : basic functionality - set locale using an array [ext/standard/tests/strings/setlocale_basic2.phpt] Test setlocale() function : basic functionality - passing multiple locales as argument [ext/standard/tests/strings/setlocale_basic3.phpt] Test setlocale() function : usage variations - passing multiple valid/invlaid locales as argument [ext/standard/tests/strings/setlocale_variation1.phpt] Test setlocale() function : usage variations - Setting all available locales in the platform [ext/standard/tests/strings/setlocale_variation2.phpt] Test setlocale() function : usage variations - setting system locale = 0 [ext/standard/tests/strings/setlocale_variation3.phpt] Test setlocale() function : usage variations - setting system locale as null [ext/standard/tests/strings/setlocale_variation4.phpt] Test setlocale() function : usage variations - Setting system locale as empty string [ext/standard/tests/strings/setlocale_variation5.phpt] Test vsprintf() function : usage variations - string formats with non-string values [ext/standard/tests/strings/vsprintf_variation8.phpt] ===================================================================== ================================================================================ /usr/local/src/php-5.2.5/ext/dom/tests/bug38474.phpt ================================================================================ foo bar Warning: DOMElement::setAttribute(): No such attribute 'new:type' in /usr/local/src/php-5.2.5/ext/dom/tests/bug38474.php on line 13 foo2 bar2 baz baz ================================================================================ 003+ 004+ Warning: DOMElement::setAttribute(): No such attribute 'new:type' in /usr/local/src/php-5.2.5/ext/dom/tests/bug38474.php on line 13 009- baz2 ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/iconv/tests/iconv-charset-length-cve-2007-4840.phpt ================================================================================ Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 9000001 bytes) in /usr/local/src/php-5.2.5/ext/iconv/tests/iconv-charset-length-cve-2007-4840.php on line 2 ================================================================================ 001+ Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 9000001 bytes) in /usr/local/src/php-5.2.5/ext/iconv/tests/iconv-charset-length-cve-2007-4840.php on line 2 001- Warning: iconv(): Charset parameter exceeds the maximum allowed length of %d characters in %s on line %d 002- bool(false) 003- 004- Warning: iconv(): Charset parameter exceeds the maximum allowed length of %d characters in %s on line %d 005- bool(false) ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/iconv/tests/iconv_mime_decode-charset-length-cve-2007-4840.phpt ================================================================================ Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 9000001 bytes) in /usr/local/src/php-5.2.5/ext/iconv/tests/iconv_mime_decode-charset-length-cve-2007-4840.php on line 2 ================================================================================ 001+ Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 9000001 bytes) in /usr/local/src/php-5.2.5/ext/iconv/tests/iconv_mime_decode-charset-length-cve-2007-4840.php on line 2 001- Warning: iconv_mime_decode(): Charset parameter exceeds the maximum allowed length of %d characters in %s on line %d 002- bool(false) ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/iconv/tests/iconv_mime_decode_headers-charset-length-cve-2007-4840.phpt ================================================================================ Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 9000001 bytes) in /usr/local/src/php-5.2.5/ext/iconv/tests/iconv_mime_decode_headers-charset-length-cve-2007-4840.php on line 2 ================================================================================ 001+ Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 9000001 bytes) in /usr/local/src/php-5.2.5/ext/iconv/tests/iconv_mime_decode_headers-charset-length-cve-2007-4840.php on line 2 001- Warning: iconv_mime_decode_headers(): Charset parameter exceeds the maximum allowed length of %d characters in %s on line %d 002- bool(false) ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/iconv/tests/iconv_set_encoding-charset-length-cve-2007-4840.phpt ================================================================================ Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 9000001 bytes) in /usr/local/src/php-5.2.5/ext/iconv/tests/iconv_set_encoding-charset-length-cve-2007-4840.php on line 2 ================================================================================ 001+ Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 9000001 bytes) in /usr/local/src/php-5.2.5/ext/iconv/tests/iconv_set_encoding-charset-length-cve-2007-4840.php on line 2 001- Warning: iconv_set_encoding(): Charset parameter exceeds the maximum allowed length of %d characters in %s on line %d 002- bool(false) 003- 004- Warning: iconv_set_encoding(): Charset parameter exceeds the maximum allowed length of %d characters in %s on line %d 005- bool(false) 006- 007- Warning: iconv_set_encoding(): Charset parameter exceeds the maximum allowed length of %d characters in %s on line %d 008- bool(false) ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/iconv/tests/iconv_strlen-charset-length-cve-2007-4840.phpt ================================================================================ Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 9792000 bytes) in /usr/local/src/php-5.2.5/ext/iconv/tests/iconv_strlen-charset-length-cve-2007-4840.php on line 2 ================================================================================ 001+ Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 9792000 bytes) in /usr/local/src/php-5.2.5/ext/iconv/tests/iconv_strlen-charset-length-cve-2007-4840.php on line 2 001- Warning: iconv_strlen(): Charset parameter exceeds the maximum allowed length of %d characters in %s on line %d 002- bool(false) ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/iconv/tests/iconv_strpos-charset-length-cve-2007-4840.phpt ================================================================================ Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 9000001 bytes) in /usr/local/src/php-5.2.5/ext/iconv/tests/iconv_strpos-charset-length-cve-2007-4840.php on line 2 ================================================================================ 001+ Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 9000001 bytes) in /usr/local/src/php-5.2.5/ext/iconv/tests/iconv_strpos-charset-length-cve-2007-4840.php on line 2 001- Warning: iconv_strpos(): Charset parameter exceeds the maximum allowed length of %d characters in %s on line %d 002- bool(false) ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/iconv/tests/iconv_strrpos-charset-length-cve-2007-4840.phpt ================================================================================ Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 9000001 bytes) in /usr/local/src/php-5.2.5/ext/iconv/tests/iconv_strrpos-charset-length-cve-2007-4840.php on line 2 ================================================================================ 001+ Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 9000001 bytes) in /usr/local/src/php-5.2.5/ext/iconv/tests/iconv_strrpos-charset-length-cve-2007-4840.php on line 2 001- Warning: iconv_strrpos(): Charset parameter exceeds the maximum allowed length of %d characters in %s on line %d 002- bool(false) ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/iconv/tests/ob_iconv_handler-charset-length-cve-2007-4840.phpt ================================================================================ Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 9000001 bytes) in /usr/local/src/php-5.2.5/ext/iconv/tests/ob_iconv_handler-charset-length-cve-2007-4840.php on line 2 ================================================================================ 001+ Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 9000001 bytes) in /usr/local/src/php-5.2.5/ext/iconv/tests/ob_iconv_handler-charset-length-cve-2007-4840.php on line 2 001- done ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/json/tests/bug41567.phpt ================================================================================ float(123456789.123) Done ================================================================================ 001+ float(123456789.123) 001- float(123456789.12345) ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/standard/tests/array/array_reverse_variation5.phpt ================================================================================ *** Testing array_reverse() : usage variations *** -- Iteration 1 -- - default argument - array(0) { } - $preserve keys = true - array(0) { } - $preserve_keys = false - array(0) { } -- Iteration 2 -- - default argument - array(1) { [0]=> int(0) } - $preserve keys = true - array(1) { [0]=> int(0) } - $preserve_keys = false - array(1) { [0]=> int(0) } -- Iteration 3 -- - default argument - array(1) { [0]=> int(1) } - $preserve keys = true - array(1) { [1]=> int(1) } - $preserve_keys = false - array(1) { [0]=> int(1) } -- Iteration 4 -- - default argument - array(4) { [0]=> int(4) ["three"]=> int(3) ["two"]=> int(2) ["one"]=> int(1) } - $preserve keys = true - array(4) { [4]=> int(4) ["three"]=> int(3) ["two"]=> int(2) ["one"]=> int(1) } - $preserve_keys = false - array(4) { [0]=> int(4) ["three"]=> int(3) ["two"]=> int(2) ["one"]=> int(1) } -- Iteration 5 -- - default argument - array(1) { ["float"]=> float(2.3333) } - $preserve keys = true - array(1) { ["float"]=> float(2.3333) } - $preserve_keys = false - array(1) { ["float"]=> float(2.3333) } -- Iteration 6 -- - default argument - array(4) { ["f4"]=> float(33333333.3333) [0]=> float(4.8999992284) ["f2"]=> float(3.33) ["f1"]=> float(1.2) } - $preserve keys = true - array(4) { ["f4"]=> float(33333333.3333) [3]=> float(4.8999992284) ["f2"]=> float(3.33) ["f1"]=> float(1.2) } - $preserve_keys = false - array(4) { ["f4"]=> float(33333333.3333) [0]=> float(4.8999992284) ["f2"]=> float(3.33) ["f1"]=> float(1.2) } -- Iteration 7 -- - default argument - array(4) { [0]=> string(4) "pen " [1]=> string(7) " world" ["red"]=> string(6) "col or" [2]=> string(6) " Hello" } - $preserve keys = true - array(4) { [3]=> string(4) "pen " [2]=> string(7) " world" ["red"]=> string(6) "col or" [111]=> string(6) " Hello" } - $preserve_keys = false - array(4) { [0]=> string(4) "pen " [1]=> string(7) " world" ["red"]=> string(6) "col or" [2]=> string(6) " Hello" } -- Iteration 8 -- - default argument - array(4) { [0]=> string(5) "pen\n" [1]=> string(9) "\v\fworld" ["red"]=> string(7) "col\tor" [2]=> string(7) "\tHello" } - $preserve keys = true - array(4) { [3]=> string(5) "pen\n" [2]=> string(9) "\v\fworld" ["red"]=> string(7) "col\tor" [111]=> string(7) "\tHello" } - $preserve_keys = false - array(4) { [0]=> string(5) "pen\n" [1]=> string(9) "\v\fworld" ["red"]=> string(7) "col\tor" [2]=> string(7) "\tHello" } -- Iteration 9 -- - default argument - array(2) { ["heredoc"]=> string(11) "Hello world" [0]=> string(5) "hello" } - $preserve keys = true - array(2) { ["heredoc"]=> string(11) "Hello world" [1]=> string(5) "hello" } - $preserve_keys = false - array(2) { ["heredoc"]=> string(11) "Hello world" [0]=> string(5) "hello" } -- Iteration 10 -- - default argument - array(3) { ["resource"]=> resource(5) of type (stream) ["unset"]=> NULL [0]=> object(classA)#1 (0) { } } - $preserve keys = true - array(3) { ["resource"]=> resource(5) of type (stream) ["unset"]=> NULL [11]=> object(classA)#1 (0) { } } - $preserve_keys = false - array(3) { ["resource"]=> resource(5) of type (stream) ["unset"]=> NULL [0]=> object(classA)#1 (0) { } } -- Iteration 11 -- - default argument - array(8) { ["heredoc"]=> string(11) "Hello world" ["unset"]=> NULL ["float"]=> float(444.432) ["int"]=> int(133) ["resource"]=> resource(5) of type (stream) [0]=> string(5) "fruit" [1]=> object(classA)#2 (0) { } [2]=> string(5) "hello" } - $preserve keys = true - array(8) { ["heredoc"]=> string(11) "Hello world" ["unset"]=> NULL ["float"]=> float(444.432) ["int"]=> int(133) ["resource"]=> resource(5) of type (stream) [222]=> string(5) "fruit" [2]=> object(classA)#2 (0) { } [1]=> string(5) "hello" } - $preserve_keys = false - array(8) { ["heredoc"]=> string(11) "Hello world" ["unset"]=> NULL ["float"]=> float(444.432) ["int"]=> int(133) ["resource"]=> resource(5) of type (stream) [0]=> string(5) "fruit" [1]=> object(classA)#2 (0) { } [2]=> string(5) "hello" } Done ================================================================================ 098+ float(33333333.3333) 098- float(33333333.333333) 109+ float(33333333.3333) 109- float(33333333.333333) 120+ float(33333333.3333) 120- float(33333333.333333) ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/standard/tests/array/array_unshift_variation5.phpt ================================================================================ *** Testing array_unshift() : associative array with different values *** -- Iteration 1 -- int(1) array(1) { [0]=> int(10) } int(3) array(3) { [0]=> int(10) [1]=> string(5) "hello" [2]=> string(5) "world" } -- Iteration 2 -- int(2) array(2) { [0]=> int(10) [1]=> int(0) } int(4) array(4) { [0]=> int(10) [1]=> string(5) "hello" [2]=> string(5) "world" [3]=> int(0) } -- Iteration 3 -- int(2) array(2) { [0]=> int(10) [1]=> int(1) } int(4) array(4) { [0]=> int(10) [1]=> string(5) "hello" [2]=> string(5) "world" [3]=> int(1) } -- Iteration 4 -- int(5) array(5) { [0]=> int(10) ["one"]=> int(1) ["two"]=> int(2) ["three"]=> int(3) [1]=> int(4) } int(7) array(7) { [0]=> int(10) [1]=> string(5) "hello" [2]=> string(5) "world" ["one"]=> int(1) ["two"]=> int(2) ["three"]=> int(3) [3]=> int(4) } -- Iteration 5 -- int(2) array(2) { [0]=> int(10) ["float"]=> float(2.3333) } int(4) array(4) { [0]=> int(10) [1]=> string(5) "hello" [2]=> string(5) "world" ["float"]=> float(2.3333) } -- Iteration 6 -- int(5) array(5) { [0]=> int(10) ["f1"]=> float(1.2) ["f2"]=> float(3.33) [1]=> float(4.8999992284) ["f4"]=> float(33333333.3333) } int(7) array(7) { [0]=> int(10) [1]=> string(5) "hello" [2]=> string(5) "world" ["f1"]=> float(1.2) ["f2"]=> float(3.33) [3]=> float(4.8999992284) ["f4"]=> float(33333333.3333) } -- Iteration 7 -- int(5) array(5) { [0]=> int(10) [1]=> string(6) " Hello" ["red"]=> string(6) "col or" [2]=> string(7) " world" [3]=> string(4) "pen " } int(7) array(7) { [0]=> int(10) [1]=> string(5) "hello" [2]=> string(5) "world" [3]=> string(6) " Hello" ["red"]=> string(6) "col or" [4]=> string(7) " world" [5]=> string(4) "pen " } -- Iteration 8 -- int(5) array(5) { [0]=> int(10) [1]=> string(7) "\tHello" ["red"]=> string(7) "col\tor" [2]=> string(9) "\v\fworld" [3]=> string(5) "pen\n" } int(7) array(7) { [0]=> int(10) [1]=> string(5) "hello" [2]=> string(5) "world" [3]=> string(7) "\tHello" ["red"]=> string(7) "col\tor" [4]=> string(9) "\v\fworld" [5]=> string(5) "pen\n" } -- Iteration 9 -- int(3) array(3) { [0]=> int(10) [1]=> string(5) "hello" ["heredoc"]=> string(11) "Hello world" } int(5) array(5) { [0]=> int(10) [1]=> string(5) "hello" [2]=> string(5) "world" [3]=> string(5) "hello" ["heredoc"]=> string(11) "Hello world" } -- Iteration 10 -- int(4) array(4) { [0]=> int(10) [1]=> object(classA)#1 (0) { } ["unset"]=> NULL ["resource"]=> resource(5) of type (stream) } int(6) array(6) { [0]=> int(10) [1]=> string(5) "hello" [2]=> string(5) "world" [3]=> object(classA)#1 (0) { } ["unset"]=> NULL ["resource"]=> resource(5) of type (stream) } -- Iteration 11 -- int(9) array(9) { [0]=> int(10) [1]=> string(5) "hello" [2]=> object(classA)#2 (0) { } [3]=> string(5) "fruit" ["resource"]=> resource(5) of type (stream) ["int"]=> int(133) ["float"]=> float(444.432) ["unset"]=> NULL ["heredoc"]=> string(11) "Hello world" } int(11) array(11) { [0]=> int(10) [1]=> string(5) "hello" [2]=> string(5) "world" [3]=> string(5) "hello" [4]=> object(classA)#2 (0) { } [5]=> string(5) "fruit" ["resource"]=> resource(5) of type (stream) ["int"]=> int(133) ["float"]=> float(444.432) ["unset"]=> NULL ["heredoc"]=> string(11) "Hello world" } Done ================================================================================ 117+ float(33333333.3333) 117- float(33333333.333333) 134+ float(33333333.3333) 134- float(33333333.333333) ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/standard/tests/file/bug22414.phpt ================================================================================ HELLO /usr/local/php/bin/php: not found Does not work ================================================================================ 002+ /usr/local/php/bin/php: not found 002- Works 003+ Does not work ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1.phpt ================================================================================ *** Testing readlink() and realpath(): with valid and invalid path *** -- Iteration 1 -- string(107) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/readlink_realpath_basic1.tmp" string(112) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/readlink_realpath_basic1_link.tmp" -- Iteration 2 -- string(112) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp" string(117) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/test/readlink_realpath_basic1_link.tmp" -- Iteration 3 -- string(112) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp" string(112) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp" -- Iteration 4 -- string(107) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/readlink_realpath_basic1.tmp" string(112) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/readlink_realpath_basic1_link.tmp" -- Iteration 5 -- Warning: readlink(): No such file or directory in /usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1.php on line 48 bool(false) bool(false) -- Iteration 6 -- Warning: readlink(): No such file or directory in /usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1.php on line 48 bool(false) bool(false) -- Iteration 7 -- Warning: readlink(): No such file or directory in /usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1.php on line 48 bool(false) string(109) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/..readlink_realpath_basic1_link.tmp" -- Iteration 8 -- Warning: readlink(): Invalid argument in /usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1.php on line 48 bool(false) string(112) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp" Done ================================================================================ 005+ string(112) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/readlink_realpath_basic1_link.tmp" 005- string(%d) "%s/readlink_realpath_basic1/home/readlink_realpath_basic1.tmp" 009+ string(117) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/test/readlink_realpath_basic1_link.tmp" 009- string(%d) "%s/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp" 017+ string(112) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/readlink_realpath_basic1_link.tmp" 017- string(%d) "%s/readlink_realpath_basic1/home/readlink_realpath_basic1.tmp" ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1.phpt ================================================================================ *** Testing readlink() and realpath() : usage variations *** *** Testing readlink() and realpath() with linkname stored inside a object *** -- Testing readlink() and realpath() with softlink, linkname stored inside an object -- bool(true) string(126) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp" string(120) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1/home/readlink_realpath_variation1_link.tmp" bool(true) string(126) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp" string(86) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1_link.tmp" -- Testing readlink() and realpath() with hardlink, linkname stored inside an object -- bool(true) Warning: readlink(): Invalid argument in /usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1.php on line 45 bool(false) string(120) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1/home/readlink_realpath_variation1_link.tmp" bool(true) Warning: readlink(): Invalid argument in /usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1.php on line 48 bool(false) string(86) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1_link.tmp" Done ================================================================================ 008+ string(120) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1/home/readlink_realpath_variation1_link.tmp" 008- string(%d) "%s/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp" 011+ string(86) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1_link.tmp" 011- string(%d) "%s/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp" ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2.phpt ================================================================================ *** Testing readlink() and realpath() : usage variations *** *** Testing readlink() and realpath() with linkname stored in an array *** -- Testing readlink() and realpath() with softlink, linkname stored inside an array -- bool(true) string(126) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2.tmp" string(131) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2_link.tmp" Warning: symlink(): No such file or directory in /usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2.php on line 29 bool(false) Warning: readlink(): No such file or directory in /usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2.php on line 30 bool(false) bool(false) Warning: unlink(/usr/local/src/php-5.2.5/ext/standard/tests/file/./readlink_realpath_variation2/home/../home//tests//..//..//..//home//readlink_realpath_variation2_link.tmp/): No such file or directory in /usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2.php on line 35 -- Testing readlink() and realpath() with hardlink, linkname stored inside an array -- bool(true) Warning: readlink(): Invalid argument in /usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2.php on line 40 bool(false) string(131) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2_link.tmp" Warning: link(): No such file or directory in /usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2.php on line 42 bool(false) Warning: readlink(): No such file or directory in /usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2.php on line 43 bool(false) bool(false) Warning: unlink(/usr/local/src/php-5.2.5/ext/standard/tests/file/./readlink_realpath_variation2/home/../home//tests//..//..//..//home//readlink_realpath_variation2_link.tmp/): No such file or directory in /usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2.php on line 48 Done ================================================================================ 008+ string(131) "/usr/local/src/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2_link.tmp" 008- string(%d) "%s/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2.tmp" ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/standard/tests/file/userwrapper.phpt ================================================================================ Unlinking file: test://example.com/path/to/file Renaming test://example.com/path/to/from to test://example.com/path/to/to Making directory: test://example.com/path/to/directory as 755 Removing directory: test://example.com/path/to/directory Stating file: test://example.com/path/to/file Array ( [0] => 1 [1] => 2 [2] => 420 [3] => 3 [4] => 100 [5] => 1000 [6] => 4294967295 [7] => 31337 [8] => 1234567890 [9] => 1231231231 [10] => 1234564564 [11] => 4294967295 [12] => -1 [dev] => 1 [ino] => 2 [mode] => 420 [nlink] => 3 [uid] => 100 [gid] => 1000 [rdev] => 4294967295 [size] => 31337 [atime] => 1234567890 [mtime] => 1231231231 [ctime] => 1234564564 [blksize] => 4294967295 [blocks] => -1 ) Filesize = 31337 filemtime = 1231231231 ================================================================================ 014+ [6] => 4294967295 014- [6] => -1 019+ [11] => 4294967295 019- [11] => -1 027+ [rdev] => 4294967295 027- [rdev] => -1 032+ [blksize] => 4294967295 032- [blksize] => -1 ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/standard/tests/general_functions/dl-cve-2007-4887.phpt ================================================================================ Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 8376758 bytes) in /usr/local/src/php-5.2.5/ext/standard/tests/general_functions/dl-cve-2007-4887.php on line 2 ================================================================================ 001+ Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 8376758 bytes) in /usr/local/src/php-5.2.5/ext/standard/tests/general_functions/dl-cve-2007-4887.php on line 2 001- Warning: dl(): File name exceeds the maximum allowed length of %d characters in %s on line %d 002- bool(false) ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/standard/tests/general_functions/proc_open02.phpt ================================================================================ bool(true) array(8) { ["command"]=> string(28) "/usr/bin/nohup /bin/sleep 50" ["pid"]=> int(43152) ["running"]=> bool(false) ["signaled"]=> bool(true) ["stopped"]=> bool(false) ["exitcode"]=> int(-1) ["termsig"]=> int(1) ["stopsig"]=> int(0) } bool(false) array(8) { ["command"]=> string(28) "/usr/bin/nohup /bin/sleep 50" ["pid"]=> int(43152) ["running"]=> bool(false) ["signaled"]=> bool(false) ["stopped"]=> bool(false) ["exitcode"]=> int(-1) ["termsig"]=> int(0) ["stopsig"]=> int(0) } Done! ================================================================================ 008+ bool(false) 009+ ["signaled"]=> 009- ["signaled"]=> 010- bool(false) 016+ int(1) 016- int(0) 020+ bool(false) 020- bool(true) 029+ bool(false) 029- bool(true) 035+ int(0) 035- int(15) ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/standard/tests/network/bug20134.phpt ================================================================================ int(1) ** ERROR: process timed out ** ================================================================================ 002+ 002- string(0) "" 003+ ** ERROR: process timed out ** ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/standard/tests/strings/moneyformat.phpt ================================================================================ string(6) "X3.14Y" Warning: money_format(): Only a single %i or %n token can be used in /usr/local/src/php-5.2.5/ext/standard/tests/strings/moneyformat.php on line 4 bool(false) ================================================================================ 001+ string(6) "X3.14Y" 001- string(7) "X$3.14Y" ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/standard/tests/strings/setlocale_basic1.phpt ================================================================================ *** Testing setlocale() : basic functionality - set to a specific locale *** Setting system locale(LC_ALL) to Checking currency settings in the new locale, expected: EUR, Found: Test FAILED. Done ================================================================================ 003+ Test FAILED. 003- string(%d) %s 004- Checking currency settings in the new locale, expected: %s, Found: %s 005- Test PASSED. ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/standard/tests/strings/setlocale_basic2.phpt ================================================================================ *** Testing setlocale() with an array containing list of locales *** -- Testing setlocale() : 'category' argument as LC_ALL & 'locale' argument as an array -- Test FAILED. Done ================================================================================ 003+ Test FAILED. 003- string(%d) "%s" 004- Checking currency settings in the new locale, expected: %s, Found: %s 005- Test PASSED. ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/standard/tests/strings/setlocale_basic3.phpt ================================================================================ *** Testing setlocale() by passing multiple locales as argument *** Done ================================================================================ 002- -- Testing setlocale() by giving 'category' as LC_ALL & multiple locales(en_US.utf8, Ko_KR.utf8, zh_CN.utf8) -- 003- string(%d) "%s" 004- Checking currency settings in the new locale, expected: %s, Found: %s 005- Test PASSED. ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/standard/tests/strings/setlocale_variation1.phpt ================================================================================ *** Testing setlocale() by passing multiple valid/invalid locales as argument *** Done ================================================================================ 002- -- Testing setlocale() by giving 'category' as LC_ALL & multiple locales(en_US.invalid, en_US.utf8, Ko_KR.utf8, KO_KR.invalid, zh_CN.utf8) -- 003- string(%d) "%s" 004- Checking currency settings in the new locale, expected: %s, Found: %s 005- Test PASSED. ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/standard/tests/strings/setlocale_variation2.phpt ================================================================================ *** Testing setlocale() : usage variations *** -- Test setlocale() with all available locale in the system -- No of locales found on the machine = 157 No of setlocale() success = 152 Expected no of failures = 0 Test FAILED Names of locale() for which setlocale() failed ... array(5) { [0]=> string(15) "la_LN.ISO8859-1" [1]=> string(16) "la_LN.ISO8859-15" [2]=> string(15) "la_LN.ISO8859-2" [3]=> string(15) "la_LN.ISO8859-4" [4]=> string(14) "la_LN.US-ASCII" } Done ================================================================================ 006+ Test FAILED 007+ Names of locale() for which setlocale() failed ... 006- Test PASSED 007- Done 008+ array(5) { 009+ [0]=> 010+ string(15) "la_LN.ISO8859-1" 011+ [1]=> 012+ string(16) "la_LN.ISO8859-15" 013+ [2]=> 014+ string(15) "la_LN.ISO8859-2" 015+ [3]=> 016+ string(15) "la_LN.ISO8859-4" 017+ [4]=> 018+ string(14) "la_LN.US-ASCII" 019+ } 020+ Done ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/standard/tests/strings/setlocale_variation3.phpt ================================================================================ *** Testing setlocale() : usage variations - setting system locale = 0 *** Locale info, before setting the locale array(18) { ["decimal_point"]=> string(1) "." ["thousands_sep"]=> string(0) "" ["int_curr_symbol"]=> string(0) "" ["currency_symbol"]=> string(0) "" ["mon_decimal_point"]=> string(0) "" ["mon_thousands_sep"]=> string(0) "" ["positive_sign"]=> string(0) "" ["negative_sign"]=> string(0) "" ["int_frac_digits"]=> int(127) ["frac_digits"]=> int(127) ["p_cs_precedes"]=> int(127) ["p_sep_by_space"]=> int(127) ["n_cs_precedes"]=> int(127) ["n_sep_by_space"]=> int(127) ["p_sign_posn"]=> int(127) ["n_sign_posn"]=> int(127) ["grouping"]=> array(1) { [0]=> int(127) } ["mon_grouping"]=> array(1) { [0]=> int(127) } } Setting system locale, category = LC_ALL and locale = 0 Locale info, after setting the locale array(18) { ["decimal_point"]=> string(1) "." ["thousands_sep"]=> string(0) "" ["int_curr_symbol"]=> string(0) "" ["currency_symbol"]=> string(0) "" ["mon_decimal_point"]=> string(0) "" ["mon_thousands_sep"]=> string(0) "" ["positive_sign"]=> string(0) "" ["negative_sign"]=> string(0) "" ["int_frac_digits"]=> int(127) ["frac_digits"]=> int(127) ["p_cs_precedes"]=> int(127) ["p_sep_by_space"]=> int(127) ["n_cs_precedes"]=> int(127) ["n_sep_by_space"]=> int(127) ["p_sign_posn"]=> int(127) ["n_sign_posn"]=> int(127) ["grouping"]=> array(1) { [0]=> int(127) } ["mon_grouping"]=> array(1) { [0]=> int(127) } } Checking locale in the system, Expected : no change in the existing locale Test PASSED. Done ================================================================================ 007+ string(0) "" 007- string(1) "," 009+ string(0) "" 009- string(4) "USD " 011+ string(0) "" 011- string(1) "$" 013+ string(0) "" 013- string(1) "." 015+ string(0) "" 015- string(1) "," 019+ string(0) "" 019- string(1) "-" 021+ int(127) 021- int(2) 023+ int(127) 023- int(2) 025+ int(127) 025- int(1) 027+ int(127) 027- int(0) 029+ int(127) 029- int(1) 031+ int(127) 031- int(0) 033+ int(127) 033- int(1) 035+ int(127) 035- int(1) 037+ array(1) { 037- array(2) { 039+ int(127) 039- int(3) 040- [1]=> 041- int(3) 042+ array(1) { 044+ int(127) 044- array(2) { 046- int(3) 047- [1]=> 048- int(3) 053+ string(0) "" 055+ string(0) "" 057+ string(0) "" 057- string(1) "," 059+ string(0) "" 059- string(4) "USD " 061+ string(0) "" 061- string(1) "$" 063- string(1) "." 065+ string(0) "" 065- string(1) "," 067+ int(127) 069+ int(127) 069- string(1) "-" 071+ int(127) 071- int(2) 073+ int(127) 073- int(2) 075+ int(127) 075- int(1) 077+ int(127) 077- int(0) 079+ int(127) 079- int(1) 081+ int(127) 081- int(0) 083+ array(1) { 083- int(1) 085+ int(127) 085- int(1) 087- array(2) { 088+ array(1) { 089- int(3) 090- [1]=> 091- int(3) 090+ int(127) 094- array(2) { 096- int(3) 097- [1]=> 098- int(3) ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/standard/tests/strings/setlocale_variation4.phpt ================================================================================ *** Testing setlocale() : usage variations - Setting system locale = null *** Locale info, before setting the locale array(18) { ["decimal_point"]=> string(1) "." ["thousands_sep"]=> string(0) "" ["int_curr_symbol"]=> string(0) "" ["currency_symbol"]=> string(0) "" ["mon_decimal_point"]=> string(0) "" ["mon_thousands_sep"]=> string(0) "" ["positive_sign"]=> string(0) "" ["negative_sign"]=> string(0) "" ["int_frac_digits"]=> int(127) ["frac_digits"]=> int(127) ["p_cs_precedes"]=> int(127) ["p_sep_by_space"]=> int(127) ["n_cs_precedes"]=> int(127) ["n_sep_by_space"]=> int(127) ["p_sign_posn"]=> int(127) ["n_sign_posn"]=> int(127) ["grouping"]=> array(1) { [0]=> int(127) } ["mon_grouping"]=> array(1) { [0]=> int(127) } } Setting system locale, category = LC_ALL and locale = null Locale info, after setting the locale array(18) { ["decimal_point"]=> string(1) "." ["thousands_sep"]=> string(0) "" ["int_curr_symbol"]=> string(0) "" ["currency_symbol"]=> string(0) "" ["mon_decimal_point"]=> string(0) "" ["mon_thousands_sep"]=> string(0) "" ["positive_sign"]=> string(0) "" ["negative_sign"]=> string(0) "" ["int_frac_digits"]=> int(127) ["frac_digits"]=> int(127) ["p_cs_precedes"]=> int(127) ["p_sep_by_space"]=> int(127) ["n_cs_precedes"]=> int(127) ["n_sep_by_space"]=> int(127) ["p_sign_posn"]=> int(127) ["n_sign_posn"]=> int(127) ["grouping"]=> array(1) { [0]=> int(127) } ["mon_grouping"]=> array(1) { [0]=> int(127) } } Checking new locale in the system, Expected : the locale names will be set from the values of environment variables Test FAILED. Done ================================================================================ 007+ string(0) "" 007- string(1) "," 009+ string(0) "" 009- string(4) "AUD " 011+ string(0) "" 011- string(1) "$" 013+ string(0) "" 013- string(1) "." 015+ string(0) "" 015- string(1) "," 019+ string(0) "" 019- string(1) "-" 021+ int(127) 021- int(2) 023+ int(127) 023- int(2) 025+ int(127) 025- int(1) 027+ int(127) 027- int(0) 029+ int(127) 029- int(1) 031+ int(127) 031- int(0) 033+ int(127) 033- int(1) 035+ int(127) 035- int(1) 037+ array(1) { 037- array(2) { 039+ int(127) 039- int(3) 040- [1]=> 041- int(3) 042+ array(1) { 044+ int(127) 044- array(2) { 046- int(3) 047- [1]=> 048- int(3) 053+ string(0) "" 055+ string(0) "" 057+ string(0) "" 057- string(1) "," 059+ string(0) "" 059- string(4) "USD " 061+ string(0) "" 061- string(1) "$" 063- string(1) "." 065+ string(0) "" 065- string(1) "," 067+ int(127) 069+ int(127) 069- string(1) "-" 071+ int(127) 071- int(2) 073+ int(127) 073- int(2) 075+ int(127) 075- int(1) 077+ int(127) 077- int(0) 079+ int(127) 079- int(1) 081+ int(127) 081- int(0) 083+ array(1) { 083- int(1) 085+ int(127) 085- int(1) 087- array(2) { 088+ array(1) { 089- int(3) 090- [1]=> 091- int(3) 090+ int(127) 094+ Test FAILED. 094- array(2) { 096- int(3) 097- [1]=> 098- int(3) 102- Test PASSED. ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/standard/tests/strings/setlocale_variation5.phpt ================================================================================ *** Testing setlocale() : usage variations - setting system locale = "" *** Locale info, before setting the locale array(18) { ["decimal_point"]=> string(1) "." ["thousands_sep"]=> string(0) "" ["int_curr_symbol"]=> string(0) "" ["currency_symbol"]=> string(0) "" ["mon_decimal_point"]=> string(0) "" ["mon_thousands_sep"]=> string(0) "" ["positive_sign"]=> string(0) "" ["negative_sign"]=> string(0) "" ["int_frac_digits"]=> int(127) ["frac_digits"]=> int(127) ["p_cs_precedes"]=> int(127) ["p_sep_by_space"]=> int(127) ["n_cs_precedes"]=> int(127) ["n_sep_by_space"]=> int(127) ["p_sign_posn"]=> int(127) ["n_sign_posn"]=> int(127) ["grouping"]=> array(1) { [0]=> int(127) } ["mon_grouping"]=> array(1) { [0]=> int(127) } } Setting system locale, category = LC_ALL and locale = "" Locale info, after setting the locale array(18) { ["decimal_point"]=> string(1) "." ["thousands_sep"]=> string(0) "" ["int_curr_symbol"]=> string(0) "" ["currency_symbol"]=> string(0) "" ["mon_decimal_point"]=> string(0) "" ["mon_thousands_sep"]=> string(0) "" ["positive_sign"]=> string(0) "" ["negative_sign"]=> string(0) "" ["int_frac_digits"]=> int(127) ["frac_digits"]=> int(127) ["p_cs_precedes"]=> int(127) ["p_sep_by_space"]=> int(127) ["n_cs_precedes"]=> int(127) ["n_sep_by_space"]=> int(127) ["p_sign_posn"]=> int(127) ["n_sign_posn"]=> int(127) ["grouping"]=> array(1) { [0]=> int(127) } ["mon_grouping"]=> array(1) { [0]=> int(127) } } Checking new locale in the system, Expected : the locale names will be set from the values of environment variables Test FAILED. Done ================================================================================ 007+ string(0) "" 007- string(1) "," 009+ string(0) "" 009- string(4) "AUD " 011+ string(0) "" 011- string(1) "$" 013+ string(0) "" 013- string(1) "." 015+ string(0) "" 015- string(1) "," 019+ string(0) "" 019- string(1) "-" 021+ int(127) 021- int(2) 023+ int(127) 023- int(2) 025+ int(127) 025- int(1) 027+ int(127) 027- int(0) 029+ int(127) 029- int(1) 031+ int(127) 031- int(0) 033+ int(127) 033- int(1) 035+ int(127) 035- int(1) 037+ array(1) { 037- array(2) { 039+ int(127) 039- int(3) 040- [1]=> 041- int(3) 042+ array(1) { 044+ int(127) 044- array(2) { 046- int(3) 047- [1]=> 048- int(3) 053+ string(0) "" 055+ string(0) "" 057+ string(0) "" 057- string(1) "," 059+ string(0) "" 059- string(4) "USD " 061+ string(0) "" 061- string(1) "$" 063- string(1) "." 065+ string(0) "" 065- string(1) "," 067+ int(127) 069+ int(127) 069- string(1) "-" 071+ int(127) 071- int(2) 073+ int(127) 073- int(2) 075+ int(127) 075- int(1) 077+ int(127) 077- int(0) 079+ int(127) 079- int(1) 081+ int(127) 081- int(0) 083+ array(1) { 083- int(1) 085+ int(127) 085- int(1) 087- array(2) { 088+ array(1) { 089- int(3) 090- [1]=> 091- int(3) 090+ int(127) 094+ Test FAILED. 094- array(2) { 096- int(3) 097- [1]=> 098- int(3) 102- Test PASSED. ================================================================================ ================================================================================ /usr/local/src/php-5.2.5/ext/standard/tests/strings/vsprintf_variation8.phpt ================================================================================ *** Testing vsprintf() : string formats and non-string values *** -- Iteration 1 -- string(174) "2.2 0.2 10.2 123456.234 s -1234.6789 1234.6789 2000 2.0E -400000000000 2.2E 12345.78 12.0000000111 -12.0000011111 -123456.234 10.2 123456.234 2.2 0.2" -- Iteration 2 -- string(132) "2 -2 2 123456 s -12346789 12346789 1232 2000 -40000 2221 12345780 1211111 -12111111 -12345634 2 123456 2 -2" -- Iteration 3 -- string(131) "Array Array Array Array s Array Array Arra Arra Array Arra Array Array Array Array Array Array Array Array" -- Iteration 4 -- string(81) "1 1 1 s 1 1 0001 0000 #0 1 $1 _0 1 1 1" Done ================================================================================ 004+ string(174) "2.2 0.2 10.2 004- string(177) "2.2 0.2 10.2 006+ 2000 2.0E -400000000000 2.2E 007+ 12345.78 12.0000000111 -12.0000011111 -123456.234 006- 2000 2000 -400000000000 2200 007- 12345.78 12.000000011111 -12.00000111111 -123456.234 ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: FreeBSD - FreeBSD ns1.canopyit.com.au 6.1-RELEASE-p1 FreeBSD 6.1-RELEASE-p1 #1: Thu Jun 8 20:01:00 EST 2006 abortolotto@ns1.canopyit.com.au:/usr/obj/usr/src/sys/NS1 amd64 Autoconf: Bundled Libtool: ltmain.sh (GNU libtool) 1.5.20 (1.1220.2.287 2005/08/31 18:54:15) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. System Libtool: ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiler: Using built-in specs. Configured with: FreeBSD/amd64 system compiler Thread model: posix gcc version 3.4.4 [FreeBSD] 20050518 Bison: Libraries: /usr/local/src/php-5.2.5/sapi/cli/php: libcrypt.so.3 => /lib/libcrypt.so.3 (0x8009f4000) libmcrypt.so.8 => /usr/local/lib/libmcrypt.so.8 (0x800b0f000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x800c50000) libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x800e41000) libz.so.3 => /lib/libz.so.3 (0x800fb8000) libpng.so.5 => /usr/local/lib/libpng.so.5 (0x8010ce000) libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x8011f4000) libssl.so.4 => /usr/lib/libssl.so.4 (0x801314000) libcrypto.so.4 => /lib/libcrypto.so.4 (0x80144c000) libm.so.4 => /lib/libm.so.4 (0x8016a2000) libmysqlclient.so.15 => /usr/local/mysql/lib/mysql/libmysqlclient.so.15 (0x8017c0000) libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x801928000) libc.so.6 => /lib/libc.so.6 (0x801b66000) User's E-mail: michael at canopyit dot com dot au ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 5.2.5 System => FreeBSD ns1.canopyit.com.au 6.1-RELEASE-p1 FreeBSD 6.1-RELEASE-p1 #1: Thu Jun 8 20:01:00 EST 2006 abortolotto@ns1.canopyit.com.au:/usr/obj/usr/src/sys/NS1 amd64 Build Date => Nov 16 2007 11:30:15 Configure Command => './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--enable-safe-mode' '--with-openssl' '--with-zlib' '--with-jpeg-dir=/usr/local/bin/' '--with-gd' '--with-png-dir=/usr/local/include/libpng' '--with-freetype-dir=/usr/local/include/freetype2' '--with-mcrypt' '--with-pear' '--enable-shared' '--with-ttf' '--enable-gd-native-ttf' '--enable-bcmath' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/local/lib Loaded Configuration File => /usr/local/lib/php.ini PHP API => 20041225 PHP Extension => 20060613 Zend Extension => 220060519 Debug Build => no Thread Safety => disabled Zend Memory Manager => enabled IPv6 Support => enabled Registered PHP Streams => php, file, data, http, ftp, compress.zlib, https, ftps Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, sslv2, tls Registered Stream Filters => string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, zlib.* This program makes use of the Zend Scripting Language Engine: Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies _______________________________________________________________________ Configuration PHP Core Directive => Local Value => Master Value allow_call_time_pass_reference => On => On allow_url_fopen => On => On allow_url_include => Off => Off always_populate_raw_post_data => Off => Off arg_separator.input => & => & arg_separator.output => & => & asp_tags => Off => Off auto_append_file => no value => no value auto_globals_jit => On => On auto_prepend_file => no value => no value browscap => no value => no value default_charset => no value => no value default_mimetype => text/html => text/html define_syslog_variables => Off => Off disable_classes => no value => no value disable_functions => no value => no value display_errors => STDOUT => STDOUT display_startup_errors => Off => Off doc_root => /usr/www/hrmweb/public_html => /usr/www/hrmweb/public_html docref_ext => no value => no value docref_root => no value => no value enable_dl => On => On error_append_string => no value => no value error_log => no value => no value error_prepend_string => no value => no value error_reporting => 6135 => 6135 expose_php => On => On extension_dir => ./ => ./ file_uploads => On => On highlight.bg => <font style="color: #FFFFFF">#FFFFFF</font> => <font style="color: #FFFFFF">#FFFFFF</font> highlight.comment => <font style="color: #FF8000">#FF8000</font> => <font style="color: #FF8000">#FF8000</font> highlight.default => <font style="color: #0000BB">#0000BB</font> => <font style="color: #0000BB">#0000BB</font> highlight.html => <font style="color: #000000">#000000</font> => <font style="color: #000000">#000000</font> highlight.keyword => <font style="color: #007700">#007700</font> => <font style="color: #007700">#007700</font> highlight.string => <font style="color: #DD0000">#DD0000</font> => <font style="color: #DD0000">#DD0000</font> html_errors => Off => Off ignore_repeated_errors => Off => Off ignore_repeated_source => Off => Off ignore_user_abort => Off => Off implicit_flush => On => On include_path => .:/usr/local/lib/php => .:/usr/local/lib/php log_errors => Off => Off log_errors_max_len => 1024 => 1024 magic_quotes_gpc => On => On magic_quotes_runtime => Off => Off magic_quotes_sybase => Off => Off mail.force_extra_parameters => no value => no value max_execution_time => 0 => 0 max_input_nesting_level => 64 => 64 max_input_time => -1 => -1 memory_limit => 8M => 8M open_basedir => no value => no value output_buffering => 0 => 0 output_handler => no value => no value post_max_size => 8M => 8M precision => 12 => 12 realpath_cache_size => 16K => 16K realpath_cache_ttl => 120 => 120 register_argc_argv => On => On register_globals => Off => Off register_long_arrays => On => On report_memleaks => On => On report_zend_debug => Off => Off safe_mode => Off => Off safe_mode_exec_dir => no value => no value safe_mode_gid => Off => Off safe_mode_include_dir => no value => no value sendmail_from => no value => no value sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i serialize_precision => 100 => 100 short_open_tag => On => On SMTP => localhost => localhost smtp_port => 25 => 25 sql.safe_mode => Off => Off track_errors => Off => Off unserialize_callback_func => no value => no value upload_max_filesize => 2M => 2M upload_tmp_dir => no value => no value user_dir => no value => no value variables_order => EGPCS => EGPCS xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => On => On zend.ze1_compatibility_mode => Off => Off bcmath BCMath support => enabled ctype ctype functions => enabled date date/time support => enabled "Olson" Timezone Database Version => 2007.9 Timezone Database => internal Default timezone => Australia/Melbourne Directive => Local Value => Master Value date.default_latitude => 31.7667 => 31.7667 date.default_longitude => 35.2333 => 35.2333 date.sunrise_zenith => 90.583333 => 90.583333 date.sunset_zenith => 90.583333 => 90.583333 date.timezone => no value => no value dom DOM/XML => enabled DOM/XML API Version => 20031129 libxml Version => 2.6.24 HTML Support => enabled XPath Support => enabled XPointer Support => enabled Schema Support => enabled RelaxNG Support => enabled filter Input Validation and Filtering => enabled Revision => $Revision: 1.52.2.39 $ Directive => Local Value => Master Value filter.default => unsafe_raw => unsafe_raw filter.default_flags => no value => no value gd GD Support => enabled GD Version => bundled (2.0.34 compatible) FreeType Support => enabled FreeType Linkage => with freetype FreeType Version => 2.1.10 GIF Read Support => enabled GIF Create Support => enabled JPG Support => enabled PNG Support => enabled WBMP Support => enabled XBM Support => enabled hash hash support => enabled Hashing Engines => md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5 iconv iconv support => enabled iconv implementation => libiconv iconv library version => 1.9 Directive => Local Value => Master Value iconv.input_encoding => ISO-8859-1 => ISO-8859-1 iconv.internal_encoding => ISO-8859-1 => ISO-8859-1 iconv.output_encoding => ISO-8859-1 => ISO-8859-1 json json support => enabled json version => 1.2.1 libxml libXML support => active libXML Version => 2.6.24 libXML streams => enabled mcrypt mcrypt support => enabled Version => 2.5.8 Api No => 20021217 Supported ciphers => cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes Supported modes => cbc cfb ctr ecb ncfb nofb ofb stream Directive => Local Value => Master Value mcrypt.algorithms_dir => no value => no value mcrypt.modes_dir => no value => no value mysqli MysqlI Support => enabled Client API library version => 5.0.22 Client API header version => 5.0.22 MYSQLI_SOCKET => /tmp/mysql.sock Directive => Local Value => Master Value mysqli.default_host => no value => no value mysqli.default_port => 3306 => 3306 mysqli.default_pw => no value => no value mysqli.default_socket => no value => no value mysqli.default_user => no value => no value mysqli.max_links => Unlimited => Unlimited mysqli.reconnect => Off => Off openssl OpenSSL support => enabled OpenSSL Version => OpenSSL 0.9.7e-p1 25 Oct 2004 pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 7.3 2007-08-28 Directive => Local Value => Master Value pcre.backtrack_limit => 100000 => 100000 pcre.recursion_limit => 100000 => 100000 PDO PDO support => enabled PDO drivers => sqlite2, sqlite pdo_sqlite PDO Driver for SQLite 3.x => enabled PECL Module version => (bundled) 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6.2.2 2007/03/23 14:30:00 wez Exp $ SQLite Library => 3.3.17 posix Revision => $Revision: 1.70.2.3.2.16 $ Reflection Reflection => enabled Version => $Id: php_reflection.c,v 1.164.2.33.2.47 2007/10/28 13:47:14 iliaa Exp $ session Session Support => enabled Registered save handlers => files user sqlite Registered serializer handlers => php php_binary Directive => Local Value => Master Value session.auto_start => Off => Off session.bug_compat_42 => On => On session.bug_compat_warn => On => On session.cache_expire => 180 => 180 session.cache_limiter => nocache => nocache session.cookie_domain => no value => no value session.cookie_httponly => Off => Off session.cookie_lifetime => 0 => 0 session.cookie_path => / => / session.cookie_secure => Off => Off session.entropy_file => no value => no value session.entropy_length => 0 => 0 session.gc_divisor => 100 => 100 session.gc_maxlifetime => 1440 => 1440 session.gc_probability => 1 => 1 session.hash_bits_per_character => 4 => 4 session.hash_function => 0 => 0 session.name => PHPSESSID => PHPSESSID session.referer_check => no value => no value session.save_handler => files => files session.save_path => no value => no value session.serialize_handler => php => php session.use_cookies => On => On session.use_only_cookies => Off => Off session.use_trans_sid => 0 => 0 SimpleXML Simplexml support => enabled Revision => $Revision: 1.151.2.22.2.35 $ Schema support => enabled SPL SPL support => enabled Interfaces => Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject Classes => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException SQLite SQLite support => enabled PECL Module version => 2.0-dev $Id: sqlite.c,v 1.166.2.13.2.9 2007/05/19 17:58:22 iliaa Exp $ SQLite Library => 2.8.17 SQLite Encoding => iso8859 Directive => Local Value => Master Value sqlite.assoc_case => 0 => 0 standard Regex Library => Bundled library enabled Dynamic Library Support => enabled Path to sendmail => /usr/sbin/sendmail -t -i Directive => Local Value => Master Value assert.active => 1 => 1 assert.bail => 0 => 0 assert.callback => no value => no value assert.quiet_eval => 0 => 0 assert.warning => 1 => 1 auto_detect_line_endings => 0 => 0 default_socket_timeout => 60 => 60 safe_mode_allowed_env_vars => PHP_ => PHP_ safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH url_rewriter.tags => a=href,area=href,frame=src,input=src,form=,fieldset= => a=href,area=href,frame=src,input=src,form=,fieldset= user_agent => no value => no value tokenizer Tokenizer Support => enabled xml XML Support => active XML Namespace Support => active libxml2 Version => 2.6.24 xmlreader XMLReader => enabled xmlwriter XMLWriter => enabled zlib ZLib Support => enabled Stream Wrapper support => compress.zlib:// Stream Filter support => zlib.inflate, zlib.deflate Compiled Version => 1.2.2 Linked Version => 1.2.2 Directive => Local Value => Master Value zlib.output_compression => Off => Off zlib.output_compression_level => -1 => -1 zlib.output_handler => no value => no value Additional Modules Module Name Environment Variable => Value SSH_CLIENT => deleted USER => mhazilias MAIL => /var/mail/mhazilias SHLVL => 2 HOME => /root OLDPWD => /usr/local/include/libpng TEST_PHP_SRCDIR => /usr/local/src/php-5.2.5 SSH_TTY => deleted PAGER => more ENV => /home/mhazilias/.shrc LOGNAME => mhazilias _ => /usr/bin/make TEST_PHP_EXECUTABLE => /usr/local/src/php-5.2.5/sapi/cli/php TERM => linux BLOCKSIZE => K PATH => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/mhazilias/bin SSH_AUTH_SOCK => deleted SHELL => /usr/local/bin/bash __MKLVL__ => 1 PWD => /usr/local/src/php-5.2.5 SSH_CONNECTION => deleted FTP_PASSIVE_MODE => YES CC => gcc EDITOR => vi PHP Variables Variable => Value _SERVER["SSH_CLIENT"] => deleted _SERVER["USER"] => mhazilias _SERVER["MAIL"] => /var/mail/mhazilias _SERVER["SHLVL"] => 2 _SERVER["HOME"] => /root _SERVER["OLDPWD"] => /usr/local/include/libpng _SERVER["TEST_PHP_SRCDIR"] => /usr/local/src/php-5.2.5 _SERVER["SSH_TTY"] => deleted _SERVER["PAGER"] => more _SERVER["ENV"] => /home/mhazilias/.shrc _SERVER["LOGNAME"] => mhazilias _SERVER["_"] => /usr/bin/make _SERVER["TEST_PHP_EXECUTABLE"] => /usr/local/src/php-5.2.5/sapi/cli/php _SERVER["TERM"] => linux _SERVER["BLOCKSIZE"] => K _SERVER["PATH"] => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/mhazilias/bin _SERVER["SSH_AUTH_SOCK"] => deleted _SERVER["SHELL"] => /usr/local/bin/bash _SERVER["__MKLVL__"] => 1 _SERVER["PWD"] => /usr/local/src/php-5.2.5 _SERVER["SSH_CONNECTION"] => deleted _SERVER["FTP_PASSIVE_MODE"] => YES _SERVER["CC"] => gcc _SERVER["EDITOR"] => vi _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["SCRIPT_FILENAME"] => _SERVER["PATH_TRANSLATED"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["REQUEST_TIME"] => 1195173700 _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["SSH_CLIENT"] => deleted _ENV["USER"] => mhazilias _ENV["MAIL"] => /var/mail/mhazilias _ENV["SHLVL"] => 2 _ENV["HOME"] => /root _ENV["OLDPWD"] => /usr/local/include/libpng _ENV["TEST_PHP_SRCDIR"] => /usr/local/src/php-5.2.5 _ENV["SSH_TTY"] => deleted _ENV["PAGER"] => more _ENV["ENV"] => /home/mhazilias/.shrc _ENV["LOGNAME"] => mhazilias _ENV["_"] => /usr/bin/make _ENV["TEST_PHP_EXECUTABLE"] => /usr/local/src/php-5.2.5/sapi/cli/php _ENV["TERM"] => linux _ENV["BLOCKSIZE"] => K _ENV["PATH"] => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/mhazilias/bin _ENV["SSH_AUTH_SOCK"] => deleted _ENV["SHELL"] => /usr/local/bin/bash _ENV["__MKLVL__"] => 1 _ENV["PWD"] => /usr/local/src/php-5.2.5 _ENV["SSH_CONNECTION"] => deleted _ENV["FTP_PASSIVE_MODE"] => YES _ENV["CC"] => gcc _ENV["EDITOR"] => vi PHP License This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.

« previous php.qa (#52248) next »