Test results for 5.0.4 [failed]

From: Date: Wed, 22 Jun 2005 11:17:22 +0000
Subject: Test results for 5.0.4 [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-25133@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 #21800 (Segfault under interactive mode) [tests/lang/bug21800.phpt] Bug #29944 (function defined in switch crashes PHP) [tests/lang/bug29944.phpt] Bug #22836 (returning references to NULL) [Zend/tests/bug22836.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] 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] Bug #27780 (strtotime(+1 xxx) returns a wrong date/time) [ext/standard/tests/time/bug27780.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 77 Exts tested : 4 --------------------------------------------------------------------- Number of tests : 1333 564 Tests skipped : 769 ( 57.7%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 12 ( 0.9%) ( 2.1%) Tests passed : 552 ( 41.4%) ( 97.9%) --------------------------------------------------------------------- Time taken : 42 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 #21800 (Segfault under interactive mode) [tests/lang/bug21800.phpt] Bug #29944 (function defined in switch crashes PHP) [tests/lang/bug29944.phpt] Bug #22836 (returning references to NULL) [Zend/tests/bug22836.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] 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] Bug #27780 (strtotime(+1 xxx) returns a wrong date/time) [ext/standard/tests/time/bug27780.phpt] ===================================================================== ================================================================================ /usr/ports/lang/php5/work/php-5.0.4/tests/basic/bug31672.phpt ================================================================================ ---- EXPECTED OUTPUT Foobar Foobar ---- ACTUAL OUTPUT Foobar Foo ---- FAILED ================================================================================ 002+ Foo 002- Foobar ================================================================================ ================================================================================ /usr/ports/lang/php5/work/php-5.0.4/tests/func/008.phpt ================================================================================ ---- EXPECTED OUTPUT 'foo1' 'foo2' ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- 'foo1' 003- 'foo2' ================================================================================ ================================================================================ /usr/ports/lang/php5/work/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/ports/lang/php5/work/php-5.0.4/tests/lang/bug21800.phpt ================================================================================ ---- EXPECTED OUTPUT Interactive mode enabled :test: ---- ACTUAL OUTPUT Interactive mode enabled :test: Segmentation fault (core dumped) ---- FAILED ================================================================================ 004+ Segmentation fault (core dumped) ================================================================================ ================================================================================ /usr/ports/lang/php5/work/php-5.0.4/tests/lang/bug29944.phpt ================================================================================ ---- EXPECTED OUTPUT 1 ===DONE=== ---- ACTUAL OUTPUT Segmentation fault (core dumped) ---- FAILED ================================================================================ 001+ Segmentation fault (core dumped) 001- 1 002- ===DONE=== ================================================================================ ================================================================================ /usr/ports/lang/php5/work/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/ports/lang/php5/work/php-5.0.4/Zend/tests/bug22836.php on line 7 Strict Standards: Only variable references should be returned by reference in /usr/ports/lang/php5/work/php-5.0.4/Zend/tests/bug22836.php on line 7 string(3) "foo" 'foo' Notice: Undefined variable: a in /usr/ports/lang/php5/work/php-5.0.4/Zend/tests/bug22836.php on line 7 Strict Standards: Only variable references should be returned by reference in /usr/ports/lang/php5/work/php-5.0.4/Zend/tests/bug22836.php on line 7 NULL 'foo' Notice: Undefined variable: a in /usr/ports/lang/php5/work/php-5.0.4/Zend/tests/bug22836.php on line 7 NULL 'foo' Notice: Undefined variable: a in /usr/ports/lang/php5/work/php-5.0.4/Zend/tests/bug22836.php on line 7 NULL 'foo' Notice: Undefined variable: a in /usr/ports/lang/php5/work/php-5.0.4/Zend/tests/bug22836.php on line 7 NULL 'foo' Notice: Undefined variable: a in /usr/ports/lang/php5/work/php-5.0.4/Zend/tests/bug22836.php on line 7 NULL 'foo' Notice: Undefined variable: a in /usr/ports/lang/php5/work/php-5.0.4/Zend/tests/bug22836.php on line 7 NULL 'foo' Notice: Undefined variable: a in /usr/ports/lang/php5/work/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/ports/lang/php5/work/php-5.0.4/Zend/tests/bug22836.php on line 7 021+ NULL 022+ 'foo' 023+ 024+ Notice: Undefined variable: a in /usr/ports/lang/php5/work/php-5.0.4/Zend/tests/bug22836.php on line 7 025+ NULL 026+ 'foo' 027+ 028+ Notice: Undefined variable: a in /usr/ports/lang/php5/work/php-5.0.4/Zend/tests/bug22836.php on line 7 029+ NULL 030+ 'foo' 031+ 032+ Notice: Undefined variable: a in /usr/ports/lang/php5/work/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/ports/lang/php5/work/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/ports/lang/php5/work/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/ports/lang/php5/work/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/ports/lang/php5/work/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/ports/lang/php5/work/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/ports/lang/php5/work/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/ports/lang/php5/work/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/ports/lang/php5/work/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/ports/lang/php5/work/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/ports/lang/php5/work/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/ports/lang/php5/work/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/ports/lang/php5/work/php-5.0.4/ext/standard/tests/time/bug27780.phpt ================================================================================ ---- EXPECTED OUTPUT America/Chicago 1076824799 [2004-02-14 23:59:59 CST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +59 seconds] 1076824800 [2004-02-15 00:00:00 CST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +60 seconds] 1076824801 [2004-02-15 00:00:01 CST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +61 seconds] 1079503200 [2004-03-17 00:00:00 CST] [2004-04-07 00:00:00 -21 days] 1080367200 [2004-03-27 00:00:00 CST] [2004-04-07 00:00:00 11 days ago] 1080460800 [2004-03-28 02:00:00 CST] [2004-04-07 00:00:00 -10 day +2 hours] 1081227600 [2004-04-06 00:00:00 CDT] [2004-04-07 00:00:00 -1 day] 1081314000 [2004-04-07 00:00:00 CDT] [2004-04-07 00:00:00] 1081317600 [2004-04-07 01:00:00 CDT] [2004-04-07 00:00:00 +1 hour] 1081321200 [2004-04-07 02:00:00 CDT] [2004-04-07 00:00:00 +2 hour] 1081400400 [2004-04-08 00:00:00 CDT] [2004-04-07 00:00:00 +1 day] 1081400400 [2004-04-08 00:00:00 CDT] [2004-04-07 00:00:00 1 day] 1083128400 [2004-04-28 00:00:00 CDT] [2004-04-07 00:00:00 +21 days] Europe/Amsterdam 1076799599 [2004-02-14 23:59:59 CET] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +59 seconds] 1076799600 [2004-02-15 00:00:00 CET] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +60 seconds] 1076799601 [2004-02-15 00:00:01 CET] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +61 seconds] 1079478000 [2004-03-17 00:00:00 CET] [2004-04-07 00:00:00 -21 days] 1080342000 [2004-03-27 00:00:00 CET] [2004-04-07 00:00:00 11 days ago] 1080435600 [2004-03-28 03:00:00 CEST] [2004-04-07 00:00:00 -10 day +2 hours] 1081202400 [2004-04-06 00:00:00 CEST] [2004-04-07 00:00:00 -1 day] 1081288800 [2004-04-07 00:00:00 CEST] [2004-04-07 00:00:00] 1081292400 [2004-04-07 01:00:00 CEST] [2004-04-07 00:00:00 +1 hour] 1081296000 [2004-04-07 02:00:00 CEST] [2004-04-07 00:00:00 +2 hour] 1081375200 [2004-04-08 00:00:00 CEST] [2004-04-07 00:00:00 +1 day] 1081375200 [2004-04-08 00:00:00 CEST] [2004-04-07 00:00:00 1 day] 1083103200 [2004-04-28 00:00:00 CEST] [2004-04-07 00:00:00 +21 days] Asia/Jerusalem 1076795999 [2004-02-14 23:59:59 IST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +59 seconds] 1076796000 [2004-02-15 00:00:00 IST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +60 seconds] 1076796001 [2004-02-15 00:00:01 IST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +61 seconds] 1079474400 [2004-03-17 00:00:00 IST] [2004-04-07 00:00:00 -21 days] 1080338400 [2004-03-27 00:00:00 IST] [2004-04-07 00:00:00 11 days ago] 1080432000 [2004-03-28 02:00:00 IST] [2004-04-07 00:00:00 -10 day +2 hours] 1081202400 [2004-04-06 00:00:00 IST] [2004-04-07 00:00:00 -1 day] 1081288800 [2004-04-07 00:00:00 IST] [2004-04-07 00:00:00] 1081292400 [2004-04-07 02:00:00 IDT] [2004-04-07 00:00:00 +1 hour] 1081292400 [2004-04-07 02:00:00 IDT] [2004-04-07 00:00:00 +2 hour] 1081371600 [2004-04-08 00:00:00 IDT] [2004-04-07 00:00:00 +1 day] 1081371600 [2004-04-08 00:00:00 IDT] [2004-04-07 00:00:00 1 day] 1083099600 [2004-04-28 00:00:00 IDT] [2004-04-07 00:00:00 +21 days] Asia/Singapore 1076774399 [2004-02-14 23:59:59 SGT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +59 seconds] 1076774400 [2004-02-15 00:00:00 SGT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +60 seconds] 1076774401 [2004-02-15 00:00:01 SGT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +61 seconds] 1079452800 [2004-03-17 00:00:00 SGT] [2004-04-07 00:00:00 -21 days] 1080316800 [2004-03-27 00:00:00 SGT] [2004-04-07 00:00:00 11 days ago] 1080410400 [2004-03-28 02:00:00 SGT] [2004-04-07 00:00:00 -10 day +2 hours] 1081180800 [2004-04-06 00:00:00 SGT] [2004-04-07 00:00:00 -1 day] 1081267200 [2004-04-07 00:00:00 SGT] [2004-04-07 00:00:00] 1081270800 [2004-04-07 01:00:00 SGT] [2004-04-07 00:00:00 +1 hour] 1081274400 [2004-04-07 02:00:00 SGT] [2004-04-07 00:00:00 +2 hour] 1081353600 [2004-04-08 00:00:00 SGT] [2004-04-07 00:00:00 +1 day] 1081353600 [2004-04-08 00:00:00 SGT] [2004-04-07 00:00:00 1 day] 1083081600 [2004-04-28 00:00:00 SGT] [2004-04-07 00:00:00 +21 days] America/Sao_Paulo 1076810399 [2004-02-14 23:59:59 BRST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +59 seconds] 1076810400 [2004-02-14 23:00:00 BRT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +60 seconds] 1076810401 [2004-02-14 23:00:01 BRT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +61 seconds] 1079492400 [2004-03-17 00:00:00 BRT] [2004-04-07 00:00:00 -21 days] 1080356400 [2004-03-27 00:00:00 BRT] [2004-04-07 00:00:00 11 days ago] 1080450000 [2004-03-28 02:00:00 BRT] [2004-04-07 00:00:00 -10 day +2 hours] 1081220400 [2004-04-06 00:00:00 BRT] [2004-04-07 00:00:00 -1 day] 1081306800 [2004-04-07 00:00:00 BRT] [2004-04-07 00:00:00] 1081310400 [2004-04-07 01:00:00 BRT] [2004-04-07 00:00:00 +1 hour] 1081314000 [2004-04-07 02:00:00 BRT] [2004-04-07 00:00:00 +2 hour] 1081393200 [2004-04-08 00:00:00 BRT] [2004-04-07 00:00:00 +1 day] 1081393200 [2004-04-08 00:00:00 BRT] [2004-04-07 00:00:00 1 day] 1083121200 [2004-04-28 00:00:00 BRT] [2004-04-07 00:00:00 +21 days] ---- ACTUAL OUTPUT America/Chicago 1076824799 [2004-02-14 23:59:59 CST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +59 seconds] 1076824800 [2004-02-15 00:00:00 CST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +60 seconds] 1076824801 [2004-02-15 00:00:01 CST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +61 seconds] 1079503200 [2004-03-17 00:00:00 CST] [2004-04-07 00:00:00 -21 days] 1080367200 [2004-03-27 00:00:00 CST] [2004-04-07 00:00:00 11 days ago] 1080460800 [2004-03-28 02:00:00 CST] [2004-04-07 00:00:00 -10 day +2 hours] 1081227600 [2004-04-06 00:00:00 CDT] [2004-04-07 00:00:00 -1 day] 1081314000 [2004-04-07 00:00:00 CDT] [2004-04-07 00:00:00] 1081317600 [2004-04-07 01:00:00 CDT] [2004-04-07 00:00:00 +1 hour] 1081321200 [2004-04-07 02:00:00 CDT] [2004-04-07 00:00:00 +2 hour] 1081400400 [2004-04-08 00:00:00 CDT] [2004-04-07 00:00:00 +1 day] 1081400400 [2004-04-08 00:00:00 CDT] [2004-04-07 00:00:00 1 day] 1083128400 [2004-04-28 00:00:00 CDT] [2004-04-07 00:00:00 +21 days] Europe/Amsterdam 1076799599 [2004-02-14 23:59:59 CET] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +59 seconds] 1076799600 [2004-02-15 00:00:00 CET] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +60 seconds] 1076799601 [2004-02-15 00:00:01 CET] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +61 seconds] 1079478000 [2004-03-17 00:00:00 CET] [2004-04-07 00:00:00 -21 days] 1080342000 [2004-03-27 00:00:00 CET] [2004-04-07 00:00:00 11 days ago] -1 [1970-01-01 00:59:59 CET] [2004-04-07 00:00:00 -10 day +2 hours] 1081202400 [2004-04-06 00:00:00 CEST] [2004-04-07 00:00:00 -1 day] 1081288800 [2004-04-07 00:00:00 CEST] [2004-04-07 00:00:00] 1081292400 [2004-04-07 01:00:00 CEST] [2004-04-07 00:00:00 +1 hour] 1081296000 [2004-04-07 02:00:00 CEST] [2004-04-07 00:00:00 +2 hour] 1081375200 [2004-04-08 00:00:00 CEST] [2004-04-07 00:00:00 +1 day] 1081375200 [2004-04-08 00:00:00 CEST] [2004-04-07 00:00:00 1 day] 1083103200 [2004-04-28 00:00:00 CEST] [2004-04-07 00:00:00 +21 days] Asia/Jerusalem 1076795999 [2004-02-14 23:59:59 IST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +59 seconds] 1076796000 [2004-02-15 00:00:00 IST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +60 seconds] 1076796001 [2004-02-15 00:00:01 IST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +61 seconds] 1079474400 [2004-03-17 00:00:00 IST] [2004-04-07 00:00:00 -21 days] 1080338400 [2004-03-27 00:00:00 IST] [2004-04-07 00:00:00 11 days ago] 1080432000 [2004-03-28 02:00:00 IST] [2004-04-07 00:00:00 -10 day +2 hours] 1081202400 [2004-04-06 00:00:00 IST] [2004-04-07 00:00:00 -1 day] 1081288800 [2004-04-07 00:00:00 IST] [2004-04-07 00:00:00] -1 [1970-01-01 01:59:59 IST] [2004-04-07 00:00:00 +1 hour] 1081292400 [2004-04-07 02:00:00 IDT] [2004-04-07 00:00:00 +2 hour] 1081371600 [2004-04-08 00:00:00 IDT] [2004-04-07 00:00:00 +1 day] 1081371600 [2004-04-08 00:00:00 IDT] [2004-04-07 00:00:00 1 day] 1083099600 [2004-04-28 00:00:00 IDT] [2004-04-07 00:00:00 +21 days] Asia/Singapore 1076774399 [2004-02-14 23:59:59 SGT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +59 seconds] 1076774400 [2004-02-15 00:00:00 SGT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +60 seconds] 1076774401 [2004-02-15 00:00:01 SGT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +61 seconds] 1079452800 [2004-03-17 00:00:00 SGT] [2004-04-07 00:00:00 -21 days] 1080316800 [2004-03-27 00:00:00 SGT] [2004-04-07 00:00:00 11 days ago] 1080410400 [2004-03-28 02:00:00 SGT] [2004-04-07 00:00:00 -10 day +2 hours] 1081180800 [2004-04-06 00:00:00 SGT] [2004-04-07 00:00:00 -1 day] 1081267200 [2004-04-07 00:00:00 SGT] [2004-04-07 00:00:00] 1081270800 [2004-04-07 01:00:00 SGT] [2004-04-07 00:00:00 +1 hour] 1081274400 [2004-04-07 02:00:00 SGT] [2004-04-07 00:00:00 +2 hour] 1081353600 [2004-04-08 00:00:00 SGT] [2004-04-07 00:00:00 +1 day] 1081353600 [2004-04-08 00:00:00 SGT] [2004-04-07 00:00:00 1 day] 1083081600 [2004-04-28 00:00:00 SGT] [2004-04-07 00:00:00 +21 days] America/Sao_Paulo 1076813999 [2004-02-14 23:59:59 BRT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +59 seconds] 1076814000 [2004-02-15 00:00:00 BRT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +60 seconds] 1076814001 [2004-02-15 00:00:01 BRT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +61 seconds] 1079492400 [2004-03-17 00:00:00 BRT] [2004-04-07 00:00:00 -21 days] 1080356400 [2004-03-27 00:00:00 BRT] [2004-04-07 00:00:00 11 days ago] 1080450000 [2004-03-28 02:00:00 BRT] [2004-04-07 00:00:00 -10 day +2 hours] 1081220400 [2004-04-06 00:00:00 BRT] [2004-04-07 00:00:00 -1 day] 1081306800 [2004-04-07 00:00:00 BRT] [2004-04-07 00:00:00] 1081310400 [2004-04-07 01:00:00 BRT] [2004-04-07 00:00:00 +1 hour] 1081314000 [2004-04-07 02:00:00 BRT] [2004-04-07 00:00:00 +2 hour] 1081393200 [2004-04-08 00:00:00 BRT] [2004-04-07 00:00:00 +1 day] 1081393200 [2004-04-08 00:00:00 BRT] [2004-04-07 00:00:00 1 day] 1083121200 [2004-04-28 00:00:00 BRT] [2004-04-07 00:00:00 +21 days] ---- FAILED ================================================================================ 022+ -1 [1970-01-01 00:59:59 CET] [2004-04-07 00:00:00 -10 day +2 hours] 022- 1080435600 [2004-03-28 03:00:00 CEST] [2004-04-07 00:00:00 -10 day +2 hours] 040+ -1 [1970-01-01 01:59:59 IST] [2004-04-07 00:00:00 +1 hour] 040- 1081292400 [2004-04-07 02:00:00 IDT] [2004-04-07 00:00:00 +1 hour] 062+ 1076813999 [2004-02-14 23:59:59 BRT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +59 seconds] 063+ 1076814000 [2004-02-15 00:00:00 BRT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +60 seconds] 064+ 1076814001 [2004-02-15 00:00:01 BRT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +61 seconds] 062- 1076810399 [2004-02-14 23:59:59 BRST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +59 seconds] 063- 1076810400 [2004-02-14 23:00:00 BRT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +60 seconds] 064- 1076810401 [2004-02-14 23:00:01 BRT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes +61 seconds] ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: FreeBSD - FreeBSD nsk01www01.belon.ru 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 Automake: Autoconf: Bundled Libtool: ltmain.sh (GNU libtool) 1.4.3 (1.922.2.111 2002/10/23 02:54:36) System Libtool: Compiler: Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.3.3 [FreeBSD] 20031106 Bison: bison (GNU Bison) 1.75 Written by Robert Corbett and Richard Stallman. Copyright (C) 2002 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: /usr/ports/lang/php5/work/php-5.0.4/sapi/cli/php: libcrypt.so.2 => /lib/libcrypt.so.2 (0x2819f000) libm.so.2 => /lib/libm.so.2 (0x281b8000) libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x281d1000) libz.so.2 => /lib/libz.so.2 (0x282e6000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x282f4000) libc.so.5 => /lib/libc.so.5 (0x283e3000) User's E-mail: dmitry at belon dot ru ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 5.0.4 System => FreeBSD nsk01www01.belon.ru 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 Build Date => Jun 22 2005 18:13:09 Configure Command => './configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-spl' '--with-pcre-regex' '--with-regex=php' '--with-apxs2=/usr/local/sbin/apxs' '--disable-ipv6' '--prefix=/usr/local' 'i386-portbld-freebsd5.2' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/local/etc Scan this dir for additional .ini files => /usr/local/etc/php PHP API => 20031224 PHP Extension => 20041030 Zend Extension => 220040412 Debug Build => no Thread Safety => disabled IPv6 Support => disabled Registered PHP Streams => php, file, http, ftp 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/local/lib/php/20041030 => /usr/local/lib/php/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 => .: => .: 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 libxml libXML support => active libXML Version => 2.6.19 libXML streams => enabled pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 4.5 01-December-2003 SPL SPL support => enabled Interfaces => RecursiveIterator, SeekableIterator Classes => ArrayObject, ArrayIterator, CachingIterator, CachingRecursiveIterator, DirectoryIterator, FilterIterator, LimitIterator, ParentIterator, RecursiveDirectoryIterator, RecursiveIteratorIterator 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_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 Additional Modules Module Name Environment Variable => Value CONTENT_TYPE => SSH_CLIENT => deleted USER => root MAIL => /var/mail/root SHLVL => 1 QUERY_STRING => HOME => /root OLDPWD => /usr/ports/lang/php5 TEST_PHP_SRCDIR => /usr/ports/lang/php5/work/php-5.0.4 SSH_TTY => deleted PAGER => more PS1 => \t \u@\h:\w> CONTENT_LENGTH => SCRIPT_FILENAME => PATH_TRANSLATED => _ => /usr/bin/make TEST_PHP_EXECUTABLE => /usr/ports/lang/php5/work/php-5.0.4/sapi/cli/php TERM => vt100 BLOCKSIZE => K PATH => /sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin SSH_AUTH_SOCK => deleted SHELL => /usr/local/bin/bash REDIRECT_STATUS => __MKLVL__ => 1 REQUEST_METHOD => PWD => /usr/ports/lang/php5/work/php-5.0.4 FTP_PASSIVE_MODE => YES CC => cc PHP Variables Variable => Value _SERVER["CONTENT_TYPE"] => _SERVER["SSH_CLIENT"] => deleted _SERVER["USER"] => root _SERVER["MAIL"] => /var/mail/root _SERVER["SHLVL"] => 1 _SERVER["QUERY_STRING"] => _SERVER["HOME"] => /root _SERVER["OLDPWD"] => /usr/ports/lang/php5 _SERVER["TEST_PHP_SRCDIR"] => /usr/ports/lang/php5/work/php-5.0.4 _SERVER["SSH_TTY"] => deleted _SERVER["PAGER"] => more _SERVER["PS1"] => \t \u@\h:\w> _SERVER["CONTENT_LENGTH"] => _SERVER["SCRIPT_FILENAME"] => _SERVER["PATH_TRANSLATED"] => _SERVER["_"] => /usr/bin/make _SERVER["TEST_PHP_EXECUTABLE"] => /usr/ports/lang/php5/work/php-5.0.4/sapi/cli/php _SERVER["TERM"] => vt100 _SERVER["BLOCKSIZE"] => K _SERVER["PATH"] => /sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin _SERVER["SSH_AUTH_SOCK"] => deleted _SERVER["SHELL"] => /usr/local/bin/bash _SERVER["REDIRECT_STATUS"] => _SERVER["__MKLVL__"] => 1 _SERVER["REQUEST_METHOD"] => _SERVER["PWD"] => /usr/ports/lang/php5/work/php-5.0.4 _SERVER["FTP_PASSIVE_MODE"] => YES _SERVER["CC"] => cc _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["CONTENT_TYPE"] => _ENV["SSH_CLIENT"] => deleted _ENV["USER"] => root _ENV["MAIL"] => /var/mail/root _ENV["SHLVL"] => 1 _ENV["QUERY_STRING"] => _ENV["HOME"] => /root _ENV["OLDPWD"] => /usr/ports/lang/php5 _ENV["TEST_PHP_SRCDIR"] => /usr/ports/lang/php5/work/php-5.0.4 _ENV["SSH_TTY"] => deleted _ENV["PAGER"] => more _ENV["PS1"] => \t \u@\h:\w> _ENV["CONTENT_LENGTH"] => _ENV["SCRIPT_FILENAME"] => _ENV["PATH_TRANSLATED"] => _ENV["_"] => /usr/bin/make _ENV["TEST_PHP_EXECUTABLE"] => /usr/ports/lang/php5/work/php-5.0.4/sapi/cli/php _ENV["TERM"] => vt100 _ENV["BLOCKSIZE"] => K _ENV["PATH"] => /sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin _ENV["SSH_AUTH_SOCK"] => deleted _ENV["SHELL"] => /usr/local/bin/bash _ENV["REDIRECT_STATUS"] => _ENV["__MKLVL__"] => 1 _ENV["REQUEST_METHOD"] => _ENV["PWD"] => /usr/ports/lang/php5/work/php-5.0.4 _ENV["FTP_PASSIVE_MODE"] => YES _ENV["CC"] => cc 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 (#25133) next »