Test results for 5.0.4 [failed]

From: Date: Fri, 19 Aug 2005 12:19:49 +0000
Subject: Test results for 5.0.4 [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-25805@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #31672 (one-line comment with </script>) [tests/basic/bug31672.phpt] Test for buffering in core functions with implicit flush off [tests/func/008.phpt] Convert warnings to exceptions [tests/lang/038.phpt] Bug #22836 (returning references to NULL) [Zend/tests/bug22836.phpt] Test 3: Exception Test [ext/dom/tests/dom003.phpt] Bug #24155 (gdImageRotate270 rotation problem). [ext/gd/tests/bug24155.phpt] gdimagefill() function (Bug #19366 (fixed in bundled libgd)) [ext/gd/tests/bug27582_1.phpt] iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt] HTML input/output [ext/mbstring/tests/htmlent.phpt] mb_output_handler() (Shift_JIS) [ext/mbstring/tests/mb_output_handler_shift_jis.phpt] Bug #29992 (foreach by reference corrupts the array) [ext/standard/tests/array/bug29992.phpt] Bug #31213 (Sideeffects caused by bug #29493) [ext/standard/tests/array/bug31213.phpt] Bug #22414 (passthru() does not read data correctly) [ext/standard/tests/file/bug22414.phpt] date_sunrise() and date_sunset() functions [ext/standard/tests/general_functions/sunfuncts.phpt] Bug #31402 (unserialize() generates references when it should not) [ext/standard/tests/serialize/bug31402.phpt] Bug #20382 (strtotime ("Monday", $date) produces wrong result on DST changeover) [ext/standard/tests/time/bug20382.phpt] wddx deserialization test [ext/wddx/tests/001.phpt] Bug #26614 (CDATA sections skipped on line count) [ext/xml/tests/bug26614.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 60 Exts tested : 23 --------------------------------------------------------------------- Number of tests : 1333 732 Tests skipped : 601 ( 45.1%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 18 ( 1.4%) ( 2.5%) Tests passed : 714 ( 53.6%) ( 97.5%) --------------------------------------------------------------------- Time taken : 58 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #31672 (one-line comment with </script>) [tests/basic/bug31672.phpt] Test for buffering in core functions with implicit flush off [tests/func/008.phpt] Convert warnings to exceptions [tests/lang/038.phpt] Bug #22836 (returning references to NULL) [Zend/tests/bug22836.phpt] Test 3: Exception Test [ext/dom/tests/dom003.phpt] Bug #24155 (gdImageRotate270 rotation problem). [ext/gd/tests/bug24155.phpt] gdimagefill() function (Bug #19366 (fixed in bundled libgd)) [ext/gd/tests/bug27582_1.phpt] iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt] HTML input/output [ext/mbstring/tests/htmlent.phpt] mb_output_handler() (Shift_JIS) [ext/mbstring/tests/mb_output_handler_shift_jis.phpt] Bug #29992 (foreach by reference corrupts the array) [ext/standard/tests/array/bug29992.phpt] Bug #31213 (Sideeffects caused by bug #29493) [ext/standard/tests/array/bug31213.phpt] Bug #22414 (passthru() does not read data correctly) [ext/standard/tests/file/bug22414.phpt] date_sunrise() and date_sunset() functions [ext/standard/tests/general_functions/sunfuncts.phpt] Bug #31402 (unserialize() generates references when it should not) [ext/standard/tests/serialize/bug31402.phpt] Bug #20382 (strtotime ("Monday", $date) produces wrong result on DST changeover) [ext/standard/tests/time/bug20382.phpt] wddx deserialization test [ext/wddx/tests/001.phpt] Bug #26614 (CDATA sections skipped on line count) [ext/xml/tests/bug26614.phpt] ===================================================================== ================================================================================ /usr/local/temp/php-5.0.4/tests/basic/bug31672.phpt ================================================================================ ---- EXPECTED OUTPUT Foobar Foobar ---- ACTUAL OUTPUT Foobar Foo ---- FAILED ================================================================================ 002+ Foo 002- Foobar ================================================================================ ================================================================================ /usr/local/temp/php-5.0.4/tests/func/008.phpt ================================================================================ ---- EXPECTED OUTPUT 'foo1' 'foo2' ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- 'foo1' 003- 'foo2' ================================================================================ ================================================================================ /usr/local/temp/php-5.0.4/tests/lang/038.phpt ================================================================================ ---- EXPECTED OUTPUT string(15) "Error2Exception" string(5) "fopen" ===DONE=== ---- ACTUAL OUTPUT string(15) "Error2Exception" string(15) "Error2Exception" ===DONE=== ---- FAILED ================================================================================ 002+ string(15) "Error2Exception" 002- string(5) "fopen" ================================================================================ ================================================================================ /usr/local/temp/php-5.0.4/Zend/tests/bug22836.phpt ================================================================================ ---- EXPECTED OUTPUT string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d ---- ACTUAL OUTPUT string(3) "foo" 'foo' Notice: Undefined variable: a in /usr/local/temp/php-5.0.4/Zend/tests/bug22836.php on line 7 Strict Standards: Only variable references should be returned by reference in /usr/local/temp/php-5.0.4/Zend/tests/bug22836.php on line 7 string(3) "foo" 'foo' Notice: Undefined variable: a in /usr/local/temp/php-5.0.4/Zend/tests/bug22836.php on line 7 Strict Standards: Only variable references should be returned by reference in /usr/local/temp/php-5.0.4/Zend/tests/bug22836.php on line 7 NULL 'foo' Notice: Undefined variable: a in /usr/local/temp/php-5.0.4/Zend/tests/bug22836.php on line 7 NULL 'foo' Notice: Undefined variable: a in /usr/local/temp/php-5.0.4/Zend/tests/bug22836.php on line 7 NULL 'foo' Notice: Undefined variable: a in /usr/local/temp/php-5.0.4/Zend/tests/bug22836.php on line 7 NULL 'foo' Notice: Undefined variable: a in /usr/local/temp/php-5.0.4/Zend/tests/bug22836.php on line 7 NULL 'foo' Notice: Undefined variable: a in /usr/local/temp/php-5.0.4/Zend/tests/bug22836.php on line 7 NULL 'foo' Notice: Undefined variable: a in /usr/local/temp/php-5.0.4/Zend/tests/bug22836.php on line 7 ---- FAILED ================================================================================ 013+ NULL 013- string(3) "foo" 017+ NULL 018+ 'foo' 018- Strict Standards: Only variable references should be returned by reference in %s on line %d 019- string(3) "foo" 020+ Notice: Undefined variable: a in /usr/local/temp/php-5.0.4/Zend/tests/bug22836.php on line 7 021+ NULL 022+ 'foo' 023+ 024+ Notice: Undefined variable: a in /usr/local/temp/php-5.0.4/Zend/tests/bug22836.php on line 7 025+ NULL 026+ 'foo' 027+ 028+ Notice: Undefined variable: a in /usr/local/temp/php-5.0.4/Zend/tests/bug22836.php on line 7 029+ NULL 030+ 'foo' 031+ 032+ Notice: Undefined variable: a in /usr/local/temp/php-5.0.4/Zend/tests/bug22836.php on line 7 033+ NULL 023- 024- Strict Standards: Only variable references should be returned by reference in %s on line %d 025- string(3) "foo" 026- 'foo' 027- 028- Notice: Undefined variable: a in %s on line %d 029- 030- Strict Standards: Only variable references should be returned by reference in %s on line %d 031- string(3) "foo" 032- 'foo' 033- 034- Notice: Undefined variable: a in %s on line %d 035- 036- Strict Standards: Only variable references should be returned by reference in %s on line %d 037- string(3) "foo" 038- 'foo' 039- 040- Notice: Undefined variable: a in %s on line %d 041- 042- Strict Standards: Only variable references should be returned by reference in %s on line %d 043- string(3) "foo" 044- 'foo' 045- 046- Notice: Undefined variable: a in %s on line %d 047- 048- Strict Standards: Only variable references should be returned by reference in %s on line %d 049- string(3) "foo" 050- 'foo' 051- 052- Notice: Undefined variable: a in %s on line %d 053- 054- Strict Standards: Only variable references should be returned by reference in %s on line %d ================================================================================ ================================================================================ /usr/local/temp/php-5.0.4/ext/dom/tests/dom003.phpt ================================================================================ ---- EXPECTED OUTPUT --- Catch exception with try/catch object(DOMException)#%d (6) { ["message:protected"]=> string(23) "Hierarchy Request Error" ["string:private"]=> string(0) "" ["file:protected"]=> string(%d) "%s/ext/dom/tests/dom003.php" ["line:protected"]=> int(8) ["trace:private"]=> array(0) { } ["code"]=> int(3) } --- Don't catch exception with try/catch Fatal error: Uncaught exception 'DOMException' with message 'Hierarchy Request Error' in %sdom003.php:%d Stack trace: #0 {main} thrown in %sdom003.php on line %d ---- ACTUAL OUTPUT --- Catch exception with try/catch object(DOMException)#3 (6) { ["message:protected"]=> string(23) "Hierarchy Request Error" ["string:private"]=> string(0) "" ["file:protected"]=> string(50) "/usr/local/temp/php-5.0.4/ext/dom/tests/dom003.php" ["line:protected"]=> int(8) ["trace:private"]=> array(1) { [0]=> array(6) { ["file"]=> string(50) "/usr/local/temp/php-5.0.4/ext/dom/tests/dom003.php" ["line"]=> int(8) ["function"]=> string(11) "appendChild" ["class"]=> string(10) "DOMElement" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> object(DOMElement)#2 (0) { } } } } ["code"]=> int(3) } --- Don't catch exception with try/catch Fatal error: Uncaught exception 'DOMException' with message 'Hierarchy Request Error' in /usr/local/temp/php-5.0.4/ext/dom/tests/dom003.php:13 Stack trace: #0 /usr/local/temp/php-5.0.4/ext/dom/tests/dom003.php(13): DOMElement->appendChild(Object(DOMElement)) #1 {main} thrown in /usr/local/temp/php-5.0.4/ext/dom/tests/dom003.php on line 13 ---- FAILED ================================================================================ 012+ array(1) { 013+ [0]=> 014+ array(6) { 015+ ["file"]=> 016+ string(50) "/usr/local/temp/php-5.0.4/ext/dom/tests/dom003.php" 017+ ["line"]=> 018+ int(8) 019+ ["function"]=> 020+ string(11) "appendChild" 021+ ["class"]=> 022+ string(10) "DOMElement" 012- array(0) { 013- } 014- ["code"]=> 015- int(3) 016- } 017- --- Don't catch exception with try/catch 018- 019- Fatal error: Uncaught exception 'DOMException' with message 'Hierarchy Request Error' in %sdom003.php:%d 020- Stack trace: 021- #0 {main} 022- thrown in %sdom003.php on line %d 023+ ["type"]=> 024+ string(2) "->" 025+ ["args"]=> 026+ array(1) { 027+ [0]=> 028+ object(DOMElement)#2 (0) { 029+ } 030+ } 031+ } 032+ } 033+ ["code"]=> 034+ int(3) 035+ } 036+ --- Don't catch exception with try/catch 037+ 038+ Fatal error: Uncaught exception 'DOMException' with message 'Hierarchy Request Error' in /usr/local/temp/php-5.0.4/ext/dom/tests/dom003.php:13 039+ Stack trace: 040+ #0 /usr/local/temp/php-5.0.4/ext/dom/tests/dom003.php(13): DOMElement->appendChild(Object(DOMElement)) 041+ #1 {main} 042+ thrown in /usr/local/temp/php-5.0.4/ext/dom/tests/dom003.php on line 13 ================================================================================ ================================================================================ /usr/local/temp/php-5.0.4/ext/gd/tests/bug24155.phpt ================================================================================ ---- EXPECTED OUTPUT cc867fd65c30883463ce58d0341f0997 ---- ACTUAL OUTPUT 409d70b5d493746acc2255c759d73436 ---- FAILED ================================================================================ 001+ 409d70b5d493746acc2255c759d73436 001- cc867fd65c30883463ce58d0341f0997 ================================================================================ ================================================================================ /usr/local/temp/php-5.0.4/ext/gd/tests/bug27582_1.phpt ================================================================================ ---- EXPECTED OUTPUT 08287f8f5d406946009df5f04ca83dc0 ---- ACTUAL OUTPUT b6d55b399e27b895a1fee8a137bb8470 ---- FAILED ================================================================================ 001+ b6d55b399e27b895a1fee8a137bb8470 001- 08287f8f5d406946009df5f04ca83dc0 ================================================================================ ================================================================================ /usr/local/temp/php-5.0.4/ext/iconv/tests/iconv_stream_filter.phpt ================================================================================ ---- EXPECTED OUTPUT string(20) "1b244224332473244b24" string(10) "41244f1b28" string(2) "42" string(20) "a4b3a4f3a4cba4c1a4cf" string(10) "69636f6e76" string(2) "0a" Warning: fread(): iconv stream filter ("ISO-2022-JP"=>"EUC-JP"): invalid multibyte sequence in %s on line %d string(0) "" string(0) "" string(0) "" ---- ACTUAL OUTPUT 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" ---- FAILED ================================================================================ 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) "" ================================================================================ ================================================================================ /usr/local/temp/php-5.0.4/ext/mbstring/tests/htmlent.phpt ================================================================================ ---- EXPECTED OUTPUT HTML-ENTITIES>UTF-8>HTML-ENTITIES test='&&;&@AB&#128;&#129;&#130;&auml;&ouml;&uuml;&euro;&lang;&rang;' ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001+ 001- HTML-ENTITIES>UTF-8>HTML-ENTITIES 002- test='&&;&@AB&#128;&#129;&#130;&auml;&ouml;&uuml;&euro;&lang;&rang;' ================================================================================ ================================================================================ /usr/local/temp/php-5.0.4/ext/mbstring/tests/mb_output_handler_shift_jis.phpt ================================================================================ ---- EXPECTED OUTPUT string(73) "¥Æ¥¹¥ÈÍÑÆüËܸìʸ»úÎ󡣤³¤Î¥â¥¸¥å¡¼¥ë¤ÏPHP¤Ë¥Þ¥ë¥Á¥Ð¥¤¥È´Ø¿ô¤òÄ󶡤·¤Þ¤¹¡£" ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001+ 001- string(73) "¥Æ¥¹¥ÈÍÑÆüËܸìʸ»úÎ󡣤³¤Î¥â¥¸¥å¡¼¥ë¤ÏPHP¤Ë¥Þ¥ë¥Á¥Ð¥¤¥È´Ø¿ô¤òÄ󶡤·¤Þ¤¹¡£" ================================================================================ ================================================================================ /usr/local/temp/php-5.0.4/ext/standard/tests/array/bug29992.phpt ================================================================================ ---- EXPECTED OUTPUT Array ( [0] => 1 [1] => 2 [2] => 3 ) int(1) int(2) int(3) int(1) int(2) int(3) int(1) int(2) int(3) int(1) int(2) int(3) Array ( [0] => 1 [1] => 2 [2] => 3 ) ===DONE=== ---- ACTUAL OUTPUT Array ( [0] => 1 [1] => 2 [2] => 3 ) int(1) int(2) int(3) int(1) int(2) int(3) int(1) int(2) int(3) int(1) int(2) int(2) Array ( [0] => 1 [1] => 2 [2] => 2 ) ===DONE=== ---- FAILED ================================================================================ 018+ int(2) 018- int(3) 023+ [2] => 2 023- [2] => 3 ================================================================================ ================================================================================ /usr/local/temp/php-5.0.4/ext/standard/tests/array/bug31213.phpt ================================================================================ ---- EXPECTED OUTPUT int(1) int(1) int(1) int(2) int(2) int(2) array(2) { ["_a"]=> &int(2) ["_b"]=> &int(2) } int(1) int(1) int(1) int(2) int(2) int(2) array(2) { ["_a"]=> &int(2) ["_b"]=> &int(2) } ---- ACTUAL OUTPUT int(1) int(1) int(1) int(2) int(2) int(2) array(2) { ["_a"]=> &int(2) ["_b"]=> &int(2) } int(1) int(1) int(2) int(2) int(2) int(2) array(2) { ["_a"]=> &int(2) ["_b"]=> &int(2) } ---- FAILED ================================================================================ 015+ int(2) 015- int(1) ================================================================================ ================================================================================ /usr/local/temp/php-5.0.4/ext/standard/tests/file/bug22414.phpt ================================================================================ ---- EXPECTED OUTPUT HELLO Works ---- ACTUAL OUTPUT HELLO Does not work ---- FAILED ================================================================================ 002+ Does not work 002- Works ================================================================================ ================================================================================ /usr/local/temp/php-5.0.4/ext/standard/tests/general_functions/sunfuncts.phpt ================================================================================ ---- EXPECTED OUTPUT 1041293199 06:39 6.652455761896 1041293806 16:46 16.76937486746 1043971592 06:32 6.54537029266 1043972233 17:13 17.21752470874 1046390766 06:06 6.115652675685 1046391456 17:36 17.6108549623 1049069128 05:28 5.472742029069 1049069878 17:58 17.97255258437 1051661094 04:54 4.901229982859 1051661898 18:18 18.31368876948 1054339474 04:34 4.57442928945 1054340319 18:39 18.65640094324 1056931476 04:36 4.616120450519 1056932328 18:48 18.80887165777 1059609894 04:54 4.906882509836 1059610715 18:35 18.59928600203 1062288314 05:14 5.236889557074 1062289083 18:03 18.06054178788 1064880332 05:32 5.542366581139 1064881044 17:24 17.41150561492 1067558754 05:54 5.916208842058 1067559410 16:50 16.83369857063 1070150780 06:20 6.34622155207 1070151395 16:35 16.58358905554 ---- ACTUAL OUTPUT 1041316748 06:39 6.652455761896 1041353169 16:46 16.76937486746 1043994763 06:32 6.54537029266 1044033183 17:13 17.21752470874 1046412416 06:06 6.115652675685 1046453799 17:36 17.6108549623 1049088501 05:28 5.472742029069 1049133501 17:58 17.97255258437 1051678444 04:54 4.901229982859 1051726729 18:18 18.31368876948 1054355667 04:34 4.57442928945 1054406363 18:39 18.65640094324 1056947818 04:36 4.616120450519 1056998911 18:48 18.80887165777 1059627264 04:54 4.906882509836 1059676557 18:35 18.59928600203 1062306852 05:14 5.236889557074 1062353017 18:03 18.06054178788 1064899952 05:32 5.542366581139 1064942681 17:24 17.41150561492 1067579698 05:54 5.916208842058 1067619001 16:50 16.83369857063 1070173246 06:20 6.34622155207 1070210100 16:35 16.58358905554 ---- FAILED ================================================================================ 001+ 1041316748 06:39 6.652455761896 002+ 1041353169 16:46 16.76937486746 003+ 1043994763 06:32 6.54537029266 004+ 1044033183 17:13 17.21752470874 005+ 1046412416 06:06 6.115652675685 006+ 1046453799 17:36 17.6108549623 007+ 1049088501 05:28 5.472742029069 008+ 1049133501 17:58 17.97255258437 009+ 1051678444 04:54 4.901229982859 010+ 1051726729 18:18 18.31368876948 011+ 1054355667 04:34 4.57442928945 012+ 1054406363 18:39 18.65640094324 013+ 1056947818 04:36 4.616120450519 014+ 1056998911 18:48 18.80887165777 015+ 1059627264 04:54 4.906882509836 016+ 1059676557 18:35 18.59928600203 017+ 1062306852 05:14 5.236889557074 018+ 1062353017 18:03 18.06054178788 019+ 1064899952 05:32 5.542366581139 020+ 1064942681 17:24 17.41150561492 021+ 1067579698 05:54 5.916208842058 022+ 1067619001 16:50 16.83369857063 023+ 1070173246 06:20 6.34622155207 024+ 1070210100 16:35 16.58358905554 001- 1041293199 06:39 6.652455761896 002- 1041293806 16:46 16.76937486746 003- 1043971592 06:32 6.54537029266 004- 1043972233 17:13 17.21752470874 005- 1046390766 06:06 6.115652675685 006- 1046391456 17:36 17.6108549623 007- 1049069128 05:28 5.472742029069 008- 1049069878 17:58 17.97255258437 009- 1051661094 04:54 4.901229982859 010- 1051661898 18:18 18.31368876948 011- 1054339474 04:34 4.57442928945 012- 1054340319 18:39 18.65640094324 013- 1056931476 04:36 4.616120450519 014- 1056932328 18:48 18.80887165777 015- 1059609894 04:54 4.906882509836 016- 1059610715 18:35 18.59928600203 017- 1062288314 05:14 5.236889557074 018- 1062289083 18:03 18.06054178788 019- 1064880332 05:32 5.542366581139 020- 1064881044 17:24 17.41150561492 021- 1067558754 05:54 5.916208842058 022- 1067559410 16:50 16.83369857063 023- 1070150780 06:20 6.34622155207 024- 1070151395 16:35 16.58358905554 ================================================================================ ================================================================================ /usr/local/temp/php-5.0.4/ext/standard/tests/serialize/bug31402.phpt ================================================================================ ---- EXPECTED OUTPUT object(y)(2) { ["A"]=> array(2) { [1]=> object(x)(1) { ["i"]=> int(1) } [2]=> object(x)(1) { ["i"]=> int(2) } } ["B"]=> object(x)(1) { ["i"]=> int(1) } } object(y)(2) { ["A"]=> array(2) { [1]=> &object(x)(1) { ["i"]=> int(1) } [2]=> object(x)(1) { ["i"]=> int(2) } } ["B"]=> &object(x)(1) { ["i"]=> int(1) } } ---- ACTUAL OUTPUT Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in /usr/local/temp/php-5.0.4/ext/standard/tests/serialize/bug31402.php on line 4 Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in /usr/local/temp/php-5.0.4/ext/standard/tests/serialize/bug31402.php on line 12 Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in /usr/local/temp/php-5.0.4/ext/standard/tests/serialize/bug31402.php on line 13 object(Y)#1 (2) { ["A"]=> array(2) { [1]=> object(X)#2 (1) { ["i"]=> int(1) } [2]=> object(X)#3 (1) { ["i"]=> int(2) } } ["B"]=> object(X)#2 (1) { ["i"]=> int(1) } } object(Y)#4 (2) { ["A"]=> array(2) { [1]=> object(X)#5 (1) { ["i"]=> int(1) } [2]=> object(X)#6 (1) { ["i"]=> int(2) } } ["B"]=> object(X)#5 (1) { ["i"]=> int(1) } } ---- FAILED ================================================================================ 001+ Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in /usr/local/temp/php-5.0.4/ext/standard/tests/serialize/bug31402.php on line 4 002+ 003+ Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in /usr/local/temp/php-5.0.4/ext/standard/tests/serialize/bug31402.php on line 12 004+ 005+ Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in /usr/local/temp/php-5.0.4/ext/standard/tests/serialize/bug31402.php on line 13 006+ object(Y)#1 (2) { 001- object(y)(2) { 005- object(x)(1) { 010+ object(X)#2 (1) { 010- object(x)(1) { 015+ object(X)#3 (1) { 016- object(x)(1) { 021+ object(X)#2 (1) { 021- object(y)(2) { 025- &object(x)(1) { 026+ object(Y)#4 (2) { 030+ object(X)#5 (1) { 030- object(x)(1) { 035+ object(X)#6 (1) { 036- &object(x)(1) { 041+ object(X)#5 (1) { ================================================================================ ================================================================================ /usr/local/temp/php-5.0.4/ext/standard/tests/time/bug20382.phpt ================================================================================ ---- EXPECTED OUTPUT tStamp=Wednesday 2004-10-27 17:17:17 CEST result=Monday 2004-11-01 00:00:00 CET wanted=Monday 2004-11-01 00:00:00 CET ---- ACTUAL OUTPUT tStamp=Wednesday 2004-10-27 17:17:17 CEST result=Sunday 2004-10-31 23:00:00 CET wanted=Monday 2004-11-01 00:00:00 CET ---- FAILED ================================================================================ 002+ result=Sunday 2004-10-31 23:00:00 CET 002- result=Monday 2004-11-01 00:00:00 CET ================================================================================ ================================================================================ /usr/local/temp/php-5.0.4/ext/wddx/tests/001.phpt ================================================================================ ---- EXPECTED OUTPUT array(11) { ["aNull"]=> NULL ["aString"]=> string(8) "a string" ["aNumber"]=> float(-12.456) ["aDateTime"]=> int(897625932) ["aDateTime2"]=> int(329632332) ["aDateTime3"]=> string(22) "2040-06-12T04:32:12+00" ["aBoolean"]=> bool(true) ["anArray"]=> array(2) { [0]=> int(10) [1]=> string(14) "second element" } ["aBinary"]=> string(11) "binary data" ["anObject"]=> array(2) { ["s"]=> string(8) "a string" ["n"]=> float(-12.456) } ["aRecordset"]=> array(2) { ["NAME"]=> array(2) { [0]=> string(8) "John Doe" [1]=> string(8) "Jane Doe" } ["AGE"]=> array(2) { [0]=> int(34) [1]=> int(31) } } } ---- ACTUAL OUTPUT array(11) { ["aNull"]=> NULL ["aString"]=> string(8) "a string" ["aNumber"]=> float(-12.456) ["aDateTime"]=> int(897625932) ["aDateTime2"]=> int(329632332) ["aDateTime3"]=> string(19) "2040-06-12T04:32:12" ["aBoolean"]=> bool(true) ["anArray"]=> array(2) { [0]=> int(10) [1]=> string(14) "second element" } ["aBinary"]=> string(11) "binary data" ["anObject"]=> array(2) { ["s"]=> string(8) "a string" ["n"]=> float(-12.456) } ["aRecordset"]=> array(2) { ["NAME"]=> array(2) { [0]=> string(8) "John Doe" [1]=> string(8) "Jane Doe" } ["AGE"]=> array(2) { [0]=> int(34) [1]=> int(31) } } } ---- FAILED ================================================================================ 013+ string(19) "2040-06-12T04:32:12" 013- string(22) "2040-06-12T04:32:12+00" ================================================================================ ================================================================================ /usr/local/temp/php-5.0.4/ext/xml/tests/bug26614.phpt ================================================================================ ---- EXPECTED OUTPUT CDATA <DATA> at line 2, col 0 (byte 45) </DATA> at line 9, col 0 (byte 90) Comment <DATA> at line 2, col 0 (byte 45) </DATA> at line 9, col 0 (byte 90) Text <DATA> at line 2, col 0 (byte 45) </DATA> at line 9, col 0 (byte 90) ---- ACTUAL OUTPUT CDATA <DATA> at line 2, col 6 (byte 9) </DATA> at line 9, col 7 (byte 56) Comment <DATA> at line 2, col 6 (byte 9) </DATA> at line 9, col 7 (byte 56) Text <DATA> at line 2, col 6 (byte 9) </DATA> at line 9, col 10 (byte 56) ---- FAILED ================================================================================ 002+ <DATA> at line 2, col 6 (byte 9) 003+ </DATA> at line 9, col 7 (byte 56) 002- <DATA> at line 2, col 0 (byte 45) 003- </DATA> at line 9, col 0 (byte 90) 005+ <DATA> at line 2, col 6 (byte 9) 006+ </DATA> at line 9, col 7 (byte 56) 005- <DATA> at line 2, col 0 (byte 45) 006- </DATA> at line 9, col 0 (byte 90) 008+ <DATA> at line 2, col 6 (byte 9) 009+ </DATA> at line 9, col 10 (byte 56) 008- <DATA> at line 2, col 0 (byte 45) 009- </DATA> at line 9, col 0 (byte 90) ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: Linux - Linux dekky 2.6.11 #1 SMP Sat Mar 5 06:55:13 WST 2005 i686 Automake: Autoconf: Bundled Libtool: ltmain.sh (GNU libtool) 1.4.3 (1.922.2.111 2002/10/23 02:54:36) System Libtool: Compiler: Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux Thread model: posix gcc version 3.3.5 (Debian 1:3.3.5-13) Bison: bison (GNU Bison) 1.875d Written by Robert Corbett and Richard Stallman. Copyright (C) 2004 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. Libraries: libcrypt.so.1 => /lib/tls/libcrypt.so.1 (0xb7fb8000) libmysqlclient.so.14 => /usr/lib/libmysqlclient.so.14 (0xb7eaf000) libm.so.6 => /lib/tls/libm.so.6 (0xb7e8d000) libz.so.1 => /usr/lib/libz.so.1 (0xb7e7b000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7e0e000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7d47000) libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0xb7d37000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7d11000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7cf3000) libssl.so.0.9.7 => /usr/lib/i686/cmov/libssl.so.0.9.7 (0xb7cc2000) libcrypto.so.0.9.7 => /usr/lib/i686/cmov/libcrypto.so.0.9.7 (0xb7bc3000) libdl.so.2 => /lib/tls/libdl.so.2 (0xb7bc0000) libresolv.so.2 => /lib/tls/libresolv.so.2 (0xb7bae000) libnsl.so.1 => /lib/tls/libnsl.so.1 (0xb7b99000) libcurl.so.3 => /usr/lib/libcurl.so.3 (0xb7b67000) libidn.so.11 => /usr/lib/libidn.so.11 (0xb7b37000) libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb7a30000) libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7a21000) libc.so.6 => /lib/tls/libc.so.6 (0xb78ec000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7fea000) User's E-mail: akb at akb dot com dot au ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 5.0.4 System => Linux dekky 2.6.11 #1 SMP Sat Mar 5 06:55:13 WST 2005 i686 Build Date => Aug 19 2005 20:16:17 Configure Command => './configure' '--with-apxs2=/usr/local/apache/bin/apxs' '--enable-exif' '--libexecdir=/usr/local/apache/modules' '--enable-track-vars' '--with-calendar=shared' '--enable-magic-quotes' '--enable-trans-sid' '--enable-wddx' '--enable-ftp' '--enable-inline-optimization' '--enable-memory-limit' '--enable-gd-native-ttf' '--with-gd' '--with-mysql' '--with-tiff' '--with-jpeg-dir=/usr/lib' '--with-png-dir=/usr/lib' '--with-zlib-dir=/usr' '--with-ttf-dir=/usr/lib' '--with-freetype-dir=/usr/lib' '--with-openssl=/usr' '--with-curl=/usr/lib' '--with-t1lib-dir=/usr/lib' '--with-xpm-dir=/usr/X11R6' '--enable-mbstring' '--with-dom' '--with-gettext' '--with-libxml' '--with-config-file-path=/usr/local/apache/php5/' '--with-config-file=/usr/local/apache/php5/php.ini' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/local/apache/php5/ PHP API => 20031224 PHP Extension => 20041030 Zend Extension => 220040412 Debug Build => no Thread Safety => disabled IPv6 Support => enabled Registered PHP Streams => php, file, http, ftp, compress.zlib, https, ftps Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, sslv2, tls This program makes use of the Zend Scripting Language Engine: Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies _______________________________________________________________________ Configuration PHP Core Directive => Local Value => Master Value allow_call_time_pass_reference => On => On allow_url_fopen => On => On 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 => On => On display_startup_errors => Off => Off doc_root => no value => no value 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 => no value => no value expose_php => On => On extension_dir => /usr/local/lib/php/extensions/no-debug-non-zts-20041030 => /usr/local/lib/php/extensions/no-debug-non-zts-20041030 file_uploads => On => On highlight.bg => #FFFFFF => #FFFFFF highlight.comment => #FF8000 => #FF8000 highlight.default => #0000BB => #0000BB highlight.html => #000000 => #000000 highlight.keyword => #007700 => #007700 highlight.string => #DD0000 => #DD0000 html_errors => Off => On ignore_repeated_errors => Off => Off ignore_repeated_source => Off => Off ignore_user_abort => Off => Off implicit_flush => On => Off 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 => 30 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 => 14 => 14 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 => /usr/local/php/bin => /usr/local/php/bin 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 ctype ctype functions => enabled curl CURL support => enabled CURL Information => libcurl/7.13.2 OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13 dom DOM/XML => enabled DOM/XML API Version => 20031129 libxml Version => 2.6.16 HTML Support => enabled XPath Support => enabled XPointer Support => enabled Schema Support => enabled RelaxNG Support => enabled exif EXIF Support => enabled EXIF Version => 1.4 $Id: exif.c,v 1.162.2.8 2005/03/17 17:20:35 iliaa Exp $ Supported EXIF Version => 0220 Supported filetypes => JPEG,TIFF ftp FTP support => enabled gd GD Support => enabled GD Version => bundled (2.0.28 compatible) FreeType Support => enabled FreeType Linkage => with freetype FreeType Version => 2.1.7 GIF Read Support => enabled GIF Create Support => enabled JPG Support => enabled PNG Support => enabled WBMP Support => enabled XPM Support => enabled XBM Support => enabled gettext GetText Support => enabled iconv iconv support => enabled iconv implementation => glibc iconv library version => 2.3.2 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 libxml libXML support => active libXML Version => 2.6.16 libXML streams => enabled mbstring Multibyte Support => enabled Multibyte string engine => libmbfl Multibyte (japanese) regex support => enabled Multibyte regex (oniguruma) version => 3.7.0 mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1. Directive => Local Value => Master Value mbstring.detect_order => no value => no value mbstring.encoding_translation => Off => Off mbstring.func_overload => 0 => 0 mbstring.http_input => pass => pass mbstring.http_output => pass => pass mbstring.internal_encoding => ISO-8859-1 => no value mbstring.language => neutral => neutral mbstring.substitute_character => no value => no value mysql MySQL Support => enabled Active Persistent Links => 0 Active Links => 0 Client API version => 4.1.11 MYSQL_MODULE_TYPE => external MYSQL_SOCKET => /var/run/mysqld/mysqld.sock MYSQL_INCLUDE => -I/usr/include/mysql MYSQL_LIBS => -L/usr/lib -lmysqlclient Directive => Local Value => Master Value mysql.allow_persistent => On => On mysql.connect_timeout => 60 => 60 mysql.default_host => no value => no value mysql.default_password => no value => no value mysql.default_port => no value => no value mysql.default_socket => no value => no value mysql.default_user => no value => no value mysql.max_links => Unlimited => Unlimited mysql.max_persistent => Unlimited => Unlimited mysql.trace_mode => Off => Off openssl OpenSSL support => enabled OpenSSL Version => OpenSSL 0.9.7e 25 Oct 2004 pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 4.5 01-December-2003 posix Revision => $Revision: 1.60.2.2 $ session Session Support => enabled Registered save handlers => files user sqlite Registered serializer handlers => php php_binary wddx 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_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.139.2.4 $ Schema support => enabled SPL SPL support => enabled Interfaces => RecursiveIterator, SeekableIterator Classes => ArrayObject, ArrayIterator, CachingIterator, CachingRecursiveIterator, DirectoryIterator, FilterIterator, LimitIterator, ParentIterator, RecursiveDirectoryIterator, RecursiveIteratorIterator, SimpleXMLIterator SQLite SQLite support => enabled PECL Module version => 2.0-dev $Id: sqlite.c,v 1.146.2.3 2004/09/26 01:41:40 wez Exp $ SQLite Library => 2.8.14 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 date.default_latitude => 31.7667 => 31.7667 date.default_longitude => 35.2333 => 35.2333 date.sunrise_zenith => 90.83 => 90.83 date.sunset_zenith => 90.83 => 90.83 default

« previous php.qa (#25805) next »