Test results for 5.0.4 [failed]

From: Date: Sat, 27 Aug 2005 03:21:12 +0000
Subject: Test results for 5.0.4 [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-25887@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] 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 #24142 (round() problems) [ext/standard/tests/math/bug24142.phpt] Bug #25694 (round() and number_format() inconsistency) [ext/standard/tests/math/bug25694.phpt] Bug #31402 (unserialize() generates references when it should not) [ext/standard/tests/serialize/bug31402.phpt] Bug #29119 (html_entity_decode() misbehaves with UTF-8) [ext/standard/tests/strings/bug29119.phpt] Bug #20382 (strtotime ("Monday", $date) produces wrong result on DST changeover) [ext/standard/tests/time/bug20382.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 62 Exts tested : 20 --------------------------------------------------------------------- Number of tests : 1333 712 Tests skipped : 621 ( 46.6%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 16 ( 1.2%) ( 2.2%) Tests passed : 696 ( 52.2%) ( 97.8%) --------------------------------------------------------------------- Time taken : 33 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] 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 #24142 (round() problems) [ext/standard/tests/math/bug24142.phpt] Bug #25694 (round() and number_format() inconsistency) [ext/standard/tests/math/bug25694.phpt] Bug #31402 (unserialize() generates references when it should not) [ext/standard/tests/serialize/bug31402.phpt] Bug #29119 (html_entity_decode() misbehaves with UTF-8) [ext/standard/tests/strings/bug29119.phpt] Bug #20382 (strtotime ("Monday", $date) produces wrong result on DST changeover) [ext/standard/tests/time/bug20382.phpt] ===================================================================== ================================================================================ /usr/src/php-5.0.4/tests/basic/bug31672.phpt ================================================================================ ---- EXPECTED OUTPUT Foobar Foobar ---- ACTUAL OUTPUT Foobar Foo ---- FAILED ================================================================================ 002+ Foo 002- Foobar ================================================================================ ================================================================================ /usr/src/php-5.0.4/tests/func/008.phpt ================================================================================ ---- EXPECTED OUTPUT 'foo1' 'foo2' ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- 'foo1' 003- 'foo2' ================================================================================ ================================================================================ /usr/src/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/src/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/src/php-5.0.4/Zend/tests/bug22836.php on line 7 Strict Standards: Only variable references should be returned by reference in /usr/src/php-5.0.4/Zend/tests/bug22836.php on line 7 string(3) "foo" 'foo' Notice: Undefined variable: a in /usr/src/php-5.0.4/Zend/tests/bug22836.php on line 7 Strict Standards: Only variable references should be returned by reference in /usr/src/php-5.0.4/Zend/tests/bug22836.php on line 7 NULL 'foo' Notice: Undefined variable: a in /usr/src/php-5.0.4/Zend/tests/bug22836.php on line 7 NULL 'foo' Notice: Undefined variable: a in /usr/src/php-5.0.4/Zend/tests/bug22836.php on line 7 NULL 'foo' Notice: Undefined variable: a in /usr/src/php-5.0.4/Zend/tests/bug22836.php on line 7 NULL 'foo' Notice: Undefined variable: a in /usr/src/php-5.0.4/Zend/tests/bug22836.php on line 7 NULL 'foo' Notice: Undefined variable: a in /usr/src/php-5.0.4/Zend/tests/bug22836.php on line 7 NULL 'foo' Notice: Undefined variable: a in /usr/src/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/src/php-5.0.4/Zend/tests/bug22836.php on line 7 021+ NULL 022+ 'foo' 023+ 024+ Notice: Undefined variable: a in /usr/src/php-5.0.4/Zend/tests/bug22836.php on line 7 025+ NULL 026+ 'foo' 027+ 028+ Notice: Undefined variable: a in /usr/src/php-5.0.4/Zend/tests/bug22836.php on line 7 029+ NULL 030+ 'foo' 031+ 032+ Notice: Undefined variable: a in /usr/src/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/src/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/src/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/src/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/src/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/src/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/src/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/src/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/src/php-5.0.4/ext/standard/tests/math/bug24142.phpt ================================================================================ ---- EXPECTED OUTPUT round(0.005, 2) -> 0.01 round(0.015, 2) -> 0.02 round(0.025, 2) -> 0.03 round(0.035, 2) -> 0.04 round(0.045, 2) -> 0.05 round(0.055, 2) -> 0.06 round(0.065, 2) -> 0.07 round(0.075, 2) -> 0.08 round(0.085, 2) -> 0.09 ---- ACTUAL OUTPUT round(0.005, 2) -> 0.01 round(0.015, 2) -> 0.01 round(0.025, 2) -> 0.03 round(0.035, 2) -> 0.04 round(0.045, 2) -> 0.05 round(0.055, 2) -> 0.06 round(0.065, 2) -> 0.07 round(0.075, 2) -> 0.07 round(0.085, 2) -> 0.08 ---- FAILED ================================================================================ 002+ round(0.015, 2) -> 0.01 002- round(0.015, 2) -> 0.02 008+ round(0.075, 2) -> 0.07 009+ round(0.085, 2) -> 0.08 008- round(0.075, 2) -> 0.08 009- round(0.085, 2) -> 0.09 ================================================================================ ================================================================================ /usr/src/php-5.0.4/ext/standard/tests/math/bug25694.phpt ================================================================================ ---- EXPECTED OUTPUT round 0.045 = 0.05 number format 0.045 = 0.05 round 0.055 = 0.06 number format 0.055 = 0.06 round 5.045 = 5.05 number format 5.045 = 5.05 round 5.055 = 5.06 number format 5.055 = 5.06 round 3.025 = 3.03 number format 3.025 = 3.03 round 4.025 = 4.03 number format 4.025 = 4.03 ---- ACTUAL OUTPUT round 0.045 = 0.04 number format 0.045 = 0.04 round 0.055 = 0.06 number format 0.055 = 0.06 round 5.045 = 5.04 number format 5.045 = 5.04 round 5.055 = 5.05 number format 5.055 = 5.05 round 3.025 = 3.02 number format 3.025 = 3.02 round 4.025 = 4.03 number format 4.025 = 4.03 ---- FAILED ================================================================================ 001+ round 0.045 = 0.04 002+ number format 0.045 = 0.04 001- round 0.045 = 0.05 002- number format 0.045 = 0.05 007+ round 5.045 = 5.04 008+ number format 5.045 = 5.04 009+ 010+ round 5.055 = 5.05 011+ number format 5.055 = 5.05 012+ 013+ round 3.025 = 3.02 014+ number format 3.025 = 3.02 007- round 5.045 = 5.05 008- number format 5.045 = 5.05 010- round 5.055 = 5.06 011- number format 5.055 = 5.06 012- 013- round 3.025 = 3.03 014- number format 3.025 = 3.03 015- ================================================================================ ================================================================================ /usr/src/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/src/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/src/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/src/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/src/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/src/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/src/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/src/php-5.0.4/ext/standard/tests/strings/bug29119.phpt ================================================================================ ---- EXPECTED OUTPUT string(42) "e28082e28089e28098e280a0e280b2e28184e282ac" ---- ACTUAL OUTPUT string(40) "e28082e28089e28098e280a0e280b2e28184c686" ---- FAILED ================================================================================ 001+ string(40) "e28082e28089e28098e280a0e280b2e28184c686" 001- string(42) "e28082e28089e28098e280a0e280b2e28184e282ac" ================================================================================ ================================================================================ /usr/src/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 ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: Linux - Linux mwp2 2.6.11.12-mwp2.20050821 #1 Sun Aug 21 23:45:57 EDT 2005 i686 Automake: automake (GNU automake) 1.9.5 Written by Tom Tromey <tromey@redhat.com>. Copyright 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. Autoconf: autoconf (GNU Autoconf) 2.59 Written by David J. MacKenzie and Akim Demaille. Copyright (C) 2003 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. Bundled Libtool: ltmain.sh (GNU libtool) 1.4.3 (1.922.2.111 2002/10/23 02:54:36) System Libtool: ltmain.sh (GNU libtool) 1.5.14 (1.1220.2.195 2005/02/12 12:12:33) 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: Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/specs Configured with: ../gcc-3.4.3/configure --prefix=/usr --libexecdir=/usr/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ Thread model: posix gcc version 3.4.3 Bison: bison (GNU Bison) 2.0 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: linux-gate.so.1 => (0xffffe000) libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7fb7000) libhistory.so.5.0 => /lib/libhistory.so.5.0 (0xb7fb0000) libreadline.so.5.0 => /lib/libreadline.so.5.0 (0xb7f84000) libncurses.so.5 => /lib/libncurses.so.5 (0xb7f43000) libpanel.so.5 => /usr/lib/libpanel.so.5 (0xb7f3f000) libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb7f30000) libz.so.1 => /lib/libz.so.1 (0xb7f1d000) libresolv.so.2 => /lib/libresolv.so.2 (0xb7f0b000) libm.so.6 => /lib/libm.so.6 (0xb7ee8000) libdl.so.2 => /lib/libdl.so.2 (0xb7ee4000) libnsl.so.1 => /lib/libnsl.so.1 (0xb7ecf000) libc.so.6 => /lib/libc.so.6 (0xb7db5000) /lib/ld-linux.so.2 (0xb7feb000) User's E-mail: ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 5.0.4 System => Linux mwp2 2.6.11.12-mwp2.20050821 #1 Sun Aug 21 23:45:57 EDT 2005 i686 Build Date => Aug 26 2005 22:33:04 Configure Command => './configure' '--prefix=/usr' '--sysconfdir=/etc' '--with-apxs2' '--with-config-file-path=/etc' '--with-zlib' '--enable-bcmath' '--with-bz2' '--enable-calendar' '--enable-dba' '--enable-exif' '--enable-ftp' '--with-gettext' '--enable-mbstring' '--with-ncurses' '--with-readline' '--disable-libxml' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /etc 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.bzip2, compress.zlib Registered Stream Socket Transports => tcp, udp, unix, udg 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/lib/php/extensions/no-debug-non-zts-20041030 => /usr/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/lib/php => .:/usr/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 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 => -t -i => -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 bz2 BZip2 Support => Enabled BZip2 Version => 1.0.3, 15-Feb-2005 calendar Calendar support => enabled ctype ctype functions => enabled dba DBA support => enabled Supported handlers => cdb cdb_make inifile flatfile 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 gettext GetText Support => enabled iconv iconv support => enabled iconv implementation => glibc iconv library version => 2.3.4 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 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 ncurses ncurses support => enabled ncurses library version => 5.4 color support => yes 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 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 SPL SPL support => enabled Interfaces => RecursiveIterator, SeekableIterator Classes => ArrayObject, ArrayIterator, CachingIterator, CachingRecursiveIterator, DirectoryIterator, FilterIterator, LimitIterator, ParentIterator, RecursiveDirectoryIterator, RecursiveIteratorIterator 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 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_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,form=,fieldset= => a=href,area=href,frame=src,form=,fieldset= user_agent => no value => no value tokenizer Tokenizer Support => enabled zlib ZLib Support => enabled 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 readline Environment Variable => Value TEST_PHP_SRCDIR => /usr/src/php-5.0.4 SHELL => /bin/sh TERM => linux MAKEFLAGS => HISTSIZE => 1000 SSH_CLIENT => deleted HUSHLOGIN => FALSE SSH_TTY => deleted LC_ALL => en_US.ISO-8859-1 USER => root LS_COLORS => no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.ogg=01;35:*.mp3=01;35:*.wav=01;35: SCRIPT_FILENAME => SSH_AUTH_SOCK => deleted MAKELEVEL => 1 MFLAGS => PATH => /usr/local/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/jdk1.5.0_04/bin:/opt/jdk/bin MAIL => /var/mail/root _ => /usr/src/php-5.0.4/sapi/cli/php PWD => /usr/src/php-5.0.4 INPUTRC => /etc/inputrc JAVA_HOME => /opt/jdk LANG => en_US.ISO-8859-1 TEST_PHP_EXECUTABLE => /usr/src/php-5.0.4/sapi/cli/php REDIRECT_STATUS => PATH_TRANSLATED => HISTIGNORE => &:[bf]g:exit HOME => /root SHLVL => 3 CONTENT_LENGTH => LOGNAME => root G_FILENAME_ENCODING => @locale QUERY_STRING => CLASSPATH => .:/usr/lib/classpath PKG_CONFIG_PATH => /usr/X11R6/lib/pkgconfig CONTENT_TYPE => CC => gcc REQUEST_METHOD => PHP Variables Variable => Value _SERVER["TEST_PHP_SRCDIR"] => /usr/src/php-5.0.4 _SERVER["SHELL"] => /bin/sh _SERVER["TERM"] => linux _SERVER["MAKEFLAGS"] => _SERVER["HISTSIZE"] => 1000 _SERVER["SSH_CLIENT"] => deleted _SERVER["HUSHLOGIN"] => FALSE _SERVER["SSH_TTY"] => deleted _SERVER["LC_ALL"] => en_US.ISO-8859-1 _SERVER["USER"] => root _SERVER["LS_COLORS"] => no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.ogg=01;35:*.mp3=01;35:*.wav=01;35: _SERVER["SCRIPT_FILENAME"] => _SERVER["SSH_AUTH_SOCK"] => deleted _SERVER["MAKELEVEL"] => 1 _SERVER["MFLAGS"] => _SERVER["PATH"] => /usr/local/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/jdk1.5.0_04/bin:/opt/jdk/bin _SERVER["MAIL"] => /var/mail/root _SERVER["_"] => /usr/src/php-5.0.4/sapi/cli/php _SERVER["PWD"] => /usr/src/php-5.0.4 _SERVER["INPUTRC"] => /etc/inputrc _SERVER["JAVA_HOME"] => /opt/jdk _SERVER["LANG"] => en_US.ISO-8859-1 _SERVER["TEST_PHP_EXECUTABLE"] => /usr/src/php-5.0.4/sapi/cli/php _SERVER["REDIRECT_STATUS"] => _SERVER["PATH_TRANSLATED"] => _SERVER["HISTIGNORE"] => &:[bf]g:exit _SERVER["HOME"] => /root _SERVER["SHLVL"] => 3 _SERVER["CONTENT_LENGTH"] => _SERVER["LOGNAME"] => root _SERVER["G_FILENAME_ENCODING"] => @locale _SERVER["QUERY_STRING"] => _SERVER["CLASSPATH"] => .:/usr/lib/classpath _SERVER["PKG_CONFIG_PATH"] => /usr/X11R6/lib/pkgconfig _SERVER["CONTENT_TYPE"] => _SERVER["CC"] => gcc _SERVER["REQUEST_METHOD"] => _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["TEST_PHP_SRCDIR"] => /usr/src/php-5.0.4 _ENV["SHELL"] => /bin/sh _ENV["TERM"] => linux _ENV["MAKEFLAGS"] => _ENV["HISTSIZE"] => 1000 _ENV["SSH_CLIENT"] => deleted _ENV["HUSHLOGIN"] => FALSE _ENV["SSH_TTY"] => deleted _ENV["LC_ALL"] => en_US.ISO-8859-1 _ENV["USER"] => root _ENV["LS_COLORS"] => no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.ogg=01;35:*.mp3=01;35:*.wav=01;35: _ENV["SCRIPT_FILENAME"] => _ENV["SSH_AUTH_SOCK"] => deleted _ENV["MAKELEVEL"] => 1 _ENV["MFLAGS"] => _ENV["PATH"] => /usr/local/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/jdk1.5.0_04/bin:/opt/jdk/bin _ENV["MAIL"] => /var/mail/root _ENV["_"] => /usr/src/php-5.0.4/sapi/cli/php _ENV["PWD"] => /usr/src/php-5.0.4 _ENV["INPUTRC"] => /etc/inputrc _ENV["JAVA_HOME"] => /opt/jdk _ENV["LANG"] => en_US.ISO-8859-1 _ENV["TEST_PHP_EXECUTABLE"] => /usr/src/php-5.0.4/sapi/cli/php _ENV["REDIRECT_STATUS"] => _ENV["PATH_TRANSLATED"] => _ENV["HISTIGNORE"] => &:[bf]g:exit _ENV["HOME"] => /root _ENV["SHLVL"] => 3 _ENV["CONTENT_LENGTH"] => _ENV["LOGNAME"] => root _ENV["G_FILENAME_ENCODING"] => @locale _ENV["QUERY_STRING"] => _ENV["CLASSPATH"] => .:/usr/lib/classpath _ENV["PKG_CONFIG_PATH"] => /usr/X11R6/lib/pkgconfig _ENV["CONTENT_TYPE"] => _ENV["CC"] => gcc _ENV["REQUEST_METHOD"] => 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 (#25887) next »