Test results [failed]

From: Date: Mon, 17 Feb 2003 07:30:46 +0000
Subject: Test results [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-9155@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Locale settings affecting float parsing [tests/lang/034.phpt] Bug #20175 (Static vars can't store ref to new instance) [tests/lang/bug20175.phpt] Bug #21094 (set_error_handler not accepting methods) [tests/lang/bug21094.phpt] Bug #21600 (assign by reference function call changes variable contents) [tests/lang/bug21600.phpt] Bug #21800 (Segfault under interactive mode) [tests/lang/bug21800.phpt] session object deserialization [ext/session/tests/003.phpt] session_set_save_handler test [ext/session/tests/004.phpt] custom save handler, multiple session_start()s, complex data structure test. [ext/session/tests/005.phpt] serializing references test case using globals [ext/session/tests/019.phpt] rewriter uses arg_seperator.output for modifying URLs [ext/session/tests/020.phpt] rewriter handles form and fieldset tags correctly [ext/session/tests/021.phpt] aggregating everything [ext/standard/tests/aggregation/aggregate.phpt] aggregating all methods [ext/standard/tests/aggregation/aggregate_methods.phpt] aggregating methods specified in the list [ext/standard/tests/aggregation/aggregate_methods_by_list.phpt] aggregating methods matching regular expression [ext/standard/tests/aggregation/aggregate_methods_by_regexp.phpt] File type functions [ext/standard/tests/file/001.phpt] idate() function [ext/standard/tests/general_functions/sunfuncts.phpt] serialize()/unserialize()/var_dump() [ext/standard/tests/serialize/001.phpt] Check for mktime with out-of-range parameters [ext/standard/tests/time/003.phpt] idate() function [ext/standard/tests/time/idate.phpt] mktime() [ext/standard/tests/time/mktime.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 73 Exts tested : 13 --------------------------------------------------------------------- Number of tests : 565 Tests skipped : 221 (39.1%) Tests failed : 21 ( 3.7%) Tests passed : 323 (57.2%) --------------------------------------------------------------------- Time taken : 221 seconds ===================================================================== ================================================================================ /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/tests/lang/034.phpt ================================================================================ ---- EXPECTED OUTPUT 3,14 ---- ACTUAL OUTPUT 3.14 ---- FAILED ================================================================================ 001- 3,14 001+ 3.14 ================================================================================ ================================================================================ /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/tests/lang/bug20175.phpt ================================================================================ ---- EXPECTED OUTPUT %s foo_static() foo_global() foo:1 foo_static() foo:1 bar_static() bar_global() bar:1 bar_static() bar_global() bar:2 wow_static() wow_global() wow:1 wow_static() wow:1 oop_test() oop_static() oop_class() oop:1 oop_static() oop:1 oop_test() oop_static() oop:1 ---- ACTUAL OUTPUT 2.0.0-dev foo_static() foo_global() foo:1 foo_static() foo:1 bar_static() bar_global() bar:1 bar_static() bar_global() bar:2 wow_static() wow_global() wow:1 wow_static() wow:1 oop_test() oop_static() ---- FAILED ================================================================================ 001- %s 001+ 2.0.0-dev 020- oop_class() 021- oop:1 022- oop_static() 023- oop:1 024- oop_test() 025- oop_static() 026- oop:1 ================================================================================ ================================================================================ /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/tests/lang/bug21094.phpt ================================================================================ ---- EXPECTED OUTPUT [1024] errstr: test, errfile: %s, errline: %d ---- ACTUAL OUTPUT Notice: Array to string conversion in /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/tests/lang/bug21094.php on line 8 Notice: test in /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/tests/lang/bug21094.php on line 10 ---- FAILED ================================================================================ 001- [1024] errstr: test, errfile: %s, errline: %d 001+ Notice: Array to string conversion in /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/tests/lang/bug21094.php on line 8 002+ 003+ Notice: test in /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/tests/lang/bug21094.php on line 10 ================================================================================ ================================================================================ /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/tests/lang/bug21600.phpt ================================================================================ ---- EXPECTED OUTPUT array(1) { ["foo"]=> string(4) "test" } array(1) { ["foo"]=> string(4) "test" } ---- ACTUAL OUTPUT array(1) { ["foo"]=> &string(4) "test" } array(1) { ["foo"]=> string(4) "test" } ---- FAILED ================================================================================ 003- string(4) "test" 003+ &string(4) "test" ================================================================================ ================================================================================ /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/tests/lang/bug21800.phpt ================================================================================ ---- EXPECTED OUTPUT Interactive mode enabled :test: ---- ACTUAL OUTPUT Notice: Undefined index: TEST_PHP_EXECUTABLE in /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/tests/lang/bug21800.php on line 2 sh: -a: command not found ---- FAILED ================================================================================ 001- Interactive mode enabled 001+ Notice: Undefined index: TEST_PHP_EXECUTABLE in /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/tests/lang/bug21800.php on line 2 002- 002+ sh: -a: command not found 003- :test: ================================================================================ ================================================================================ /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/ext/session/tests/003.phpt ================================================================================ ---- EXPECTED OUTPUT object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> &object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } } ---- ACTUAL OUTPUT object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } } ---- FAILED ================================================================================ 009- &object(foo)(2) { 009+ object(foo)(2) { ================================================================================ ================================================================================ /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/ext/session/tests/004.phpt ================================================================================ ---- EXPECTED OUTPUT OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> &object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } } WRITE: abtest, baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}} OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } } DESTROY: abtest ---- ACTUAL OUTPUT OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } } WRITE: abtest, baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}} OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } } DESTROY: abtest ---- FAILED ================================================================================ 011- &object(foo)(2) { 011+ object(foo)(2) { ================================================================================ ================================================================================ /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/ext/session/tests/005.phpt ================================================================================ ---- EXPECTED OUTPUT OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> &object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } } WRITE: abtest, baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}} CLOSE OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(3) } array(1) { [3]=> &object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(3) } } int(123) WRITE: abtest, baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:3;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:3;}}c|i:123; CLOSE OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(3) } array(1) { [3]=> object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(3) } } int(123) DESTROY: abtest CLOSE ---- ACTUAL OUTPUT OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } } WRITE: abtest, baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}} CLOSE OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(3) } array(1) { [3]=> object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(3) } } int(123) WRITE: abtest, baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:3;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:3;}}c|i:123; CLOSE OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(3) } array(1) { [3]=> object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(3) } } int(123) DESTROY: abtest CLOSE ---- FAILED ================================================================================ 011- &object(foo)(2) { 011+ object(foo)(2) { 030- &object(foo)(2) { 030+ object(foo)(2) { ================================================================================ ================================================================================ /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/ext/session/tests/019.phpt ================================================================================ ---- EXPECTED OUTPUT array(2) { ["o1"]=> &object(tfoo)(1) { ["c"]=> int(42) } ["o2"]=> &object(tfoo)(1) { ["c"]=> int(42) } } array(2) { ["o1"]=> &object(tfoo)(1) { ["c"]=> int(44) } ["o2"]=> &object(tfoo)(1) { ["c"]=> int(44) } } ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- array(2) { 001+ 002- ["o1"]=> 003- &object(tfoo)(1) { 004- ["c"]=> 005- int(42) 006- } 007- ["o2"]=> 008- &object(tfoo)(1) { 009- ["c"]=> 010- int(42) 011- } 012- } 013- array(2) { 014- ["o1"]=> 015- &object(tfoo)(1) { 016- ["c"]=> 017- int(44) 018- } 019- ["o2"]=> 020- &object(tfoo)(1) { 021- ["c"]=> 022- int(44) 023- } 024- } ================================================================================ ================================================================================ /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/ext/session/tests/020.phpt ================================================================================ ---- EXPECTED OUTPUT <a href="link.php?a=b&amp;PHPSESSID=abtest"> ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- <a href="link.php?a=b&amp;PHPSESSID=abtest"> 001+ ================================================================================ ================================================================================ /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/ext/session/tests/021.phpt ================================================================================ ---- EXPECTED OUTPUT <form><input type="hidden" name="PHPSESSID" value="abtest" /> <fieldset><input type="hidden" name="PHPSESSID" value="abtest" /> <form><input type="hidden" name="PHPSESSID" value="abtest" /> <fieldset> <form><input type="hidden" name="PHPSESSID" value="abtest" /> <fieldset> <form> <fieldset><input type="hidden" name="PHPSESSID" value="abtest" /> ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- <form><input type="hidden" name="PHPSESSID" value="abtest" /> 001+ 002- <fieldset><input type="hidden" name="PHPSESSID" value="abtest" /> 003- <form><input type="hidden" name="PHPSESSID" value="abtest" /> 004- <fieldset> 005- <form><input type="hidden" name="PHPSESSID" value="abtest" /> 006- <fieldset> 007- <form> 008- <fieldset><input type="hidden" name="PHPSESSID" value="abtest" /> ================================================================================ ================================================================================ /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/ext/standard/tests/aggregation/aggregate.phpt ================================================================================ ---- EXPECTED OUTPUT I'm alive! I'm helping! I'm aggregating! **** ---- ACTUAL OUTPUT I'm alive! Fatal error: Call to undefined method simple::do_this() in /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/ext/standard/tests/aggregation/aggregate.php on line 7 ---- FAILED ================================================================================ 002- I'm helping! 002+ 003- I'm aggregating! 003+ Fatal error: Call to undefined method simple::do_this() in /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/ext/standard/tests/aggregation/aggregate.php on line 7 004- **** ================================================================================ ================================================================================ /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/ext/standard/tests/aggregation/aggregate_methods.phpt ================================================================================ ---- EXPECTED OUTPUT I'm alive! mixing 100 simple,mix_it simple_prop mixing ---- ACTUAL OUTPUT I'm alive! Fatal error: Call to undefined method simple::mix_it() in /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/ext/standard/tests/aggregation/aggregate_methods.php on line 6 ---- FAILED ================================================================================ 002- mixing 002+ 003- 100 003+ Fatal error: Call to undefined method simple::mix_it() in /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/ext/standard/tests/aggregation/aggregate_methods.php on line 6 004- simple,mix_it 005- simple_prop 006- mixing ================================================================================ ================================================================================ /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/ext/standard/tests/aggregation/aggregate_methods_by_list.phpt ================================================================================ ---- EXPECTED OUTPUT I'm alive! simple,just_another_method I'm alive! simple,do_this,do_that yep, that's me ---- ACTUAL OUTPUT I'm alive! simple I'm alive! simple Fatal error: Call to undefined method simple::just_another_method() in /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/ext/standard/tests/aggregation/aggregate_methods_by_list.php on line 10 ---- FAILED ================================================================================ 002- simple,just_another_method 002+ simple 004- simple,do_this,do_that 004+ simple 005- yep, that's me 005+ 006+ Fatal error: Call to undefined method simple::just_another_method() in /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/ext/standard/tests/aggregation/aggregate_methods_by_list.php on line 10 ================================================================================ ================================================================================ /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/ext/standard/tests/aggregation/aggregate_methods_by_regexp.phpt ================================================================================ ---- EXPECTED OUTPUT I'm alive! simple,do_this,do_that I'm alive! simple,just_another_method ---- ACTUAL OUTPUT I'm alive! simple I'm alive! simple ---- FAILED ================================================================================ 002- simple,do_this,do_that 002+ simple 004- simple,just_another_method 004+ simple ================================================================================ ================================================================================ /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/ext/standard/tests/file/001.phpt ================================================================================ ---- EXPECTED OUTPUT test.file does not exist test.file exists test.link exists test.file is not a symlink test.link is a symlink test.file exists test.link lstat and stat differ at element 1 test.link lstat and stat differ at element 2 test.link lstat and stat differ at element 7 test.link lstat and stat differ at element 8 test.link lstat and stat differ at element 9 test.link lstat and stat differ at element 10 test.file is file test.link is link test.file permissions are 0744 test.file size is 0 test.file is writeable test.file is readable test.file is executable test.file is a regular file test.link is a regular file test.link is not a directory ../file is a directory test.file is not a directory test.file does not exist test.file does not exist ---- ACTUAL OUTPUT test.file does not exist test.file exists test.link exists test.file is not a symlink test.link is a symlink test.file exists test.link lstat and stat differ at element 1 test.link lstat and stat differ at element 2 test.link lstat and stat differ at element 7 test.link lstat and stat differ at element 8 test.link lstat and stat differ at element 9 test.file is file test.link is link test.file permissions are 0744 test.file size is 0 test.file is writeable test.file is readable test.file is executable test.file is a regular file test.link is a regular file test.link is not a directory ../file is a directory test.file is not a directory test.file does not exist test.file does not exist ---- FAILED ================================================================================ 012- test.link lstat and stat differ at element 10 012+ test.file is file 013- test.file is file 013+ test.link is link 014- test.link is link 014+ test.file permissions are 0744 015- test.file permissions are 0744 015+ test.file size is 0 016- test.file size is 0 016+ test.file is writeable 017- test.file is writeable 017+ test.file is readable 018- test.file is readable 018+ test.file is executable 019- test.file is executable 019+ test.file is a regular file 020- test.file is a regular file 020+ test.link is a regular file 021- test.link is a regular file 021+ test.link is not a directory 022- test.link is not a directory 022+ ../file is a directory 023- ../file is a directory 023+ test.file is not a directory 024- test.file is not a directory 024+ test.file does not exist 026- test.file does not exist ================================================================================ ================================================================================ /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/ext/standard/tests/general_functions/sunfuncts.phpt ================================================================================ ---- EXPECTED OUTPUT 1041293199 06:39 6.6524557618962 1041293806 16:46 16.769374867459 1043971592 06:32 6.5453702926602 1043972233 17:13 17.217524708736 1046390766 06:06 6.1156526756851 1046391456 17:36 17.6108549623 1049069128 05:28 5.4727420290691 1049069878 17:58 17.972552584375 1051661094 04:54 4.9012299828593 1051661898 18:18 18.313688769483 1054339474 04:34 4.5744292894498 1054340319 18:39 18.656400943241 1056931476 04:36 4.6161204505189 1056932328 18:48 18.808871657766 1059609894 04:54 4.9068825098365 1059610715 18:35 18.599286002028 1062288314 05:14 5.2368895570738 1062289083 18:03 18.060541787879 1064880332 05:32 5.542366581139 1064881044 17:24 17.411505614917 1067558754 05:54 5.9162088420581 1067559410 16:50 16.833698570628 1070150780 06:20 6.3462215520697 1070151395 16:35 16.583589055537 ---- ACTUAL OUTPUT 1041379599 06:39 6.6524557618962 1041380206 16:46 16.769374867459 1044057992 06:32 6.5453702926602 1044058633 17:13 17.217524708736 1046477166 06:06 6.1156526756851 1046477856 17:36 17.6108549623 1049155528 05:28 5.4727420290691 1049156278 17:58 17.972552584375 1051747494 04:54 4.9012299828593 1051748298 18:18 18.313688769483 1054425874 04:34 4.5744292894498 1054426719 18:39 18.656400943241 1057017876 04:36 4.6161204505189 1057018728 18:48 18.808871657766 1059696294 04:54 4.9068825098364 1059697115 18:35 18.599286002028 1062374714 05:14 5.2368895570738 1062375483 18:03 18.060541787879 1064966732 05:32 5.542366581139 1064967444 17:24 17.411505614917 1067645154 05:54 5.9162088420581 1067645810 16:50 16.833698570628 1070237180 06:20 6.3462215520697 1070237795 16:35 16.583589055537 ---- FAILED ================================================================================ 001- 1041293199 06:39 6.6524557618962 001+ 1041379599 06:39 6.6524557618962 002- 1041293806 16:46 16.769374867459 002+ 1041380206 16:46 16.769374867459 003- 1043971592 06:32 6.5453702926602 003+ 1044057992 06:32 6.5453702926602 004- 1043972233 17:13 17.217524708736 004+ 1044058633 17:13 17.217524708736 005- 1046390766 06:06 6.1156526756851 005+ 1046477166 06:06 6.1156526756851 006- 1046391456 17:36 17.6108549623 006+ 1046477856 17:36 17.6108549623 007- 1049069128 05:28 5.4727420290691 007+ 1049155528 05:28 5.4727420290691 008- 1049069878 17:58 17.972552584375 008+ 1049156278 17:58 17.972552584375 009- 1051661094 04:54 4.9012299828593 009+ 1051747494 04:54 4.9012299828593 010- 1051661898 18:18 18.313688769483 010+ 1051748298 18:18 18.313688769483 011- 1054339474 04:34 4.5744292894498 011+ 1054425874 04:34 4.5744292894498 012- 1054340319 18:39 18.656400943241 012+ 1054426719 18:39 18.656400943241 013- 1056931476 04:36 4.6161204505189 013+ 1057017876 04:36 4.6161204505189 014- 1056932328 18:48 18.808871657766 014+ 1057018728 18:48 18.808871657766 015- 1059609894 04:54 4.9068825098365 015+ 1059696294 04:54 4.9068825098364 016- 1059610715 18:35 18.599286002028 016+ 1059697115 18:35 18.599286002028 017- 1062288314 05:14 5.2368895570738 017+ 1062374714 05:14 5.2368895570738 018- 1062289083 18:03 18.060541787879 018+ 1062375483 18:03 18.060541787879 019- 1064880332 05:32 5.542366581139 019+ 1064966732 05:32 5.542366581139 020- 1064881044 17:24 17.411505614917 020+ 1064967444 17:24 17.411505614917 021- 1067558754 05:54 5.9162088420581 021+ 1067645154 05:54 5.9162088420581 022- 1067559410 16:50 16.833698570628 022+ 1067645810 16:50 16.833698570628 023- 1070150780 06:20 6.3462215520697 023+ 1070237180 06:20 6.3462215520697 024- 1070151395 16:35 16.583589055537 024+ 1070237795 16:35 16.583589055537 ================================================================================ ================================================================================ /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/ext/standard/tests/serialize/001.phpt ================================================================================ ---- EXPECTED OUTPUT N; b:1; b:0; i:1; i:0; i:-1; i:2147483647; i:-2147483647; d:1.123456789; d:1; d:0; d:-1; d:-1.123456789; s:5:"hallo"; a:6:{i:0;i:1;i:1;d:1.1;i:2;s:5:"hallo";i:3;N;i:4;b:1;i:5;a:0:{}} O:1:"t":1:{s:1:"a";s:5:"hallo";} object(t)(1) { ["a"]=> string(5) "hallo" } __sleep called O:1:"s":2:{s:1:"a";s:5:"hallo";s:1:"c";s:5:"world";} __wakeup called object(s)(2) { ["a"]=> string(5) "hallo" ["c"]=> string(5) "world" } array(2) { ["a"]=> &string(4) "test" ["b"]=> &string(4) "test" } a:2:{s:1:"a";s:4:"test";s:1:"b";R:2;} array(2) { ["a"]=> &string(4) "test" ["b"]=> &string(4) "test" } ---- ACTUAL OUTPUT N; b:1; b:0; i:1; i:0; i:-1; i:2147483647; i:-2147483647; d:1.123456789; d:1; d:0; d:-1; d:-1.123456789; s:5:"hallo"; a:6:{i:0;i:1;i:1;d:1.1;i:2;s:5:"hallo";i:3;N;i:4;b:1;i:5;a:0:{}} O:1:"t":1:{s:1:"a";s:5:"hallo";} object(t)(1) { ["a"]=> string(5) "hallo" } __sleep called O:1:"s":2:{s:1:"a";s:5:"hallo";s:1:"c";s:5:"world";} __wakeup called object(s)(3) { ["a"]=> string(5) "hallo" ["b"]=> NULL ["c"]=> string(5) "world" } array(2) { ["a"]=> &string(4) "test" ["b"]=> &string(4) "test" } a:2:{s:1:"a";s:4:"test";s:1:"b";R:2;} array(2) { ["a"]=> &string(4) "test" ["b"]=> &string(4) "test" } ---- FAILED ================================================================================ 024- object(s)(2) { 024+ object(s)(3) { 027- ["c"]=> 027+ ["b"]=> 028- string(5) "world" 028+ NULL 029- } 029+ ["c"]=> 030- array(2) { 030+ string(5) "world" 031- ["a"]=> 031+ } 032- &string(4) "test" 032+ array(2) { 033- ["b"]=> 033+ ["a"]=> 035- } 035+ ["b"]=> 036- a:2:{s:1:"a";s:4:"test";s:1:"b";R:2;} 036+ &string(4) "test" 037- array(2) { 037+ } 038- ["a"]=> 038+ a:2:{s:1:"a";s:4:"test";s:1:"b";R:2;} 039- &string(4) "test" 039+ array(2) { 040- ["b"]=> 040+ ["a"]=> 042- } 042+ ["b"]=> 043+ &string(4) "test" 044+ } ================================================================================ ================================================================================ /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/ext/standard/tests/time/003.phpt ================================================================================ ---- EXPECTED OUTPUT 2000-02-29 2000-02-28 2000-02-29 2001-02-28 2001-03-01 1999-11-30 2000-05-29 12:00:00 2000-05-29 13:00:00 2000-05-29 12:00:00 2000-01-31 12:00:00 2000-01-31 12:00:00 2000-01-31 11:00:00 2000-04-29 12:00:00 2000-04-29 13:00:00 2000-04-29 12:00:00 ---- ACTUAL OUTPUT 2000-02-29 2000-02-28 2000-02-29 2001-02-28 2001-03-01 1999-11-30 2000-05-29 12:00:00 2000-05-29 12:00:00 1969-12-31 23:58:58 2000-01-31 12:00:00 2000-01-31 12:00:00 1969-10-01 23:58:58 2000-04-29 12:00:00 2000-04-29 12:00:00 1969-12-29 23:58:58 ---- FAILED ================================================================================ 008- 2000-05-29 13:00:00 008+ 2000-05-29 12:00:00 009- 2000-05-29 12:00:00 009+ 1969-12-31 23:58:58 012- 2000-01-31 11:00:00 012+ 1969-10-01 23:58:58 014- 2000-04-29 13:00:00 014+ 2000-04-29 12:00:00 015- 2000-04-29 12:00:00 015+ 1969-12-29 23:58:58 ================================================================================ ================================================================================ /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/ext/standard/tests/time/idate.phpt ================================================================================ ---- EXPECTED OUTPUT 1043324459 2003 22 3 1 1 23 23 12 12 12 12 20 59 31 4 0 556 0 4 ---- ACTUAL OUTPUT 1043324459 2003 22 3 1 1 23 23 4 4 4 4 20 59 31 4 0 556 0 4 ---- FAILED ================================================================================ 009- 12 009+ 4 010- 12 010+ 4 011- 12 011+ 4 012- 12 012+ 4 ================================================================================ ================================================================================ /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/ext/standard/tests/time/mktime.phpt ================================================================================ ---- EXPECTED OUTPUT int(1009843200) int(1009843200) int(1009843200) int(1009843200) int(1025481600) int(1025481600) int(1025481600) int(1025481600) int(1009839600) int(1009839600) int(1009839600) int(1009836000) int(1025474400) int(1025474400) int(1025478000) int(1025474400) ---- ACTUAL OUTPUT int(1009843200) int(1009843200) int(1009843200) int(-3662) int(1025481600) int(1025481600) int(1025481600) int(-3662) int(1009843200) int(1009843200) int(1009843200) int(-3662) int(1025481600) int(1025481600) int(1025481600) int(-3662) ---- FAILED ================================================================================ 004- int(1009843200) 004+ int(-3662) 008- int(1025481600) 008+ int(-3662) 009- int(1009839600) 009+ int(1009843200) 010- int(1009839600) 010+ int(1009843200) 011- int(1009839600) 011+ int(1009843200) 012- int(1009836000) 012+ int(-3662) 013- int(1025474400) 013+ int(1025481600) 014- int(1025474400) 014+ int(1025481600) 015- int(1025478000) 015+ int(1025481600) 016- int(1025474400) 016+ int(-3662) ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: Darwin Automake: automake (GNU automake) 1.7.2 Written by Tom Tromey <tromey@redhat.com>. Copyright 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. Autoconf: autoconf (GNU Autoconf) 2.54 Written by David J. MacKenzie and Akim Demaille. Copyright 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. Libtool: ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54) Compiler: Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs Thread model: posix Apple Computer, Inc. GCC version 1175, based on gcc version 3.1 20020420 (prerelease) Bison: bison (GNU Bison) 1.35 Copyright 1984, 1986, 1989, 1992, 2000, 2001, 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. User's E-mail: tychay at php dot net ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 5.0.0-dev System => Darwin onyx.local. 6.4 Darwin Kernel Version 6.4: Wed Jan 29 18:50:42 PST 2003; root:xnu/xnu-344.26.obj~1/RELEASE_PPC Power Macintosh Build Date => Feb 16 2003 22:39:49 Configure Command => './configure' '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-zip=shared,/sw' '--with-xmlrpc=shared' '--with-readline=shared,/sw' '--with-pspell=shared,/sw' '--with-pdflib=shared,/sw' '--with-iodbc=shared,/usr' '--with-ncurses=shared,/sw' '--with-mysql=shared,/sw' '--with-mysql-sock=/private/tmp/mysql.sock' '--with-mnogosearch=/sw' '--with-ming=shared,/sw' '--with-mime-magic' '--with-mhash=shared,/sw' '--with-mcrypt=shared,/sw' '--with-iconv=shared,/sw' '--with-iconv-dir=/sw' '--with-gmp=shared,/sw' '--with-gettext=shared,/sw' '--with-gd=shared' '--with-jpeg-dir=/sw' '--with-png-dir=/sw' '--with-xpm-dir=/sw' '--with-freetype-dir=/sw' '--with-t1lib=/sw' '--enable-gd-native-ttf' '--enable-exif=shared' '--with-tiff-dir=/sw' '--with-dom=shared,/sw' '--with-curl=/usr' '--with-curlwrappers' '--with-zlib=shared,/usr' '--with-zlib-dir=/usr' '--with-openssl=shared,/sw' '--with-config-file-path=/etc' '--enable-yp=shared' '--with-expat-dir=/sw' '--enable-wddx=shared' '--enable-sockets=shared' '--enable-mbstring=all' '--enable-mbregex' '--enable-ftp=shared' '--enable-dio=shared' '--enable-dbx=shared' '--enable-dba=shared' '--with-db3=/sw' '--with-gdbm=/sw' '--with-ndbm=/usr' '--with-cdb' '--with-flatfile' '--enable-calendar' '--enable-bcmath' '--disable-debug' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /Users/tychay/Documents/development/compile/php/php.ini PHP API => 20020918 PHP Extension => 20020429 Zend Extension => 90021012 Debug Build => no Thread Safety => disabled Registered PHP Streams => php, ftp, gopher, telnet, dict, ldap, http, file, https, ftps This program makes use of the Zend Scripting Language Engine: Zend Engine v2.0.0-dev, Copyright (c) 1998-2003 Zend Technologies<br /> _______________________________________________________________________ Configuration PHP Core Directive => Local Value => Master Value allow_call_time_pass_reference => Off => Off allow_url_fopen => On => On always_populate_raw_post_data => Off => Off arg_separator.input => &amp; => &amp; arg_separator.output => &amp; => &amp; asp_tags => Off => Off auto_append_file => no value => no value 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_functions => no value => no value display_errors => Off => Off display_startup_errors => Off => Off doc_root => no value => no value docref_ext => no value => no value docref_root => http://www.php.net/ => http://www.php.net/ 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 => 2047 => 2047 expose_php => On => On extension_dir => /usr/lib/php/extensions/no-debug-non-zts-20020429 => /usr/lib/php/extensions/no-debug-non-zts-20020429 file_uploads => On => On gpc_order => GPC => GPC 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 => On => On log_errors_max_len => 1024 => 1024 magic_quotes_gpc => Off => Off magic_quotes_runtime => Off => Off magic_quotes_sybase => Off => Off max_execution_time => 0 => 30 max_input_time => 60 => 60 open_basedir => no value => no value output_buffering => 4096 => 4096 output_handler => no value => no value post_max_size => 8M => 8M precision => 14 => 14 register_argc_argv => On => Off register_globals => Off => Off report_memleaks => On => On report_zend_debug => On => On safe_mode => Off => Off safe_mode_exec_dir => no value => no value safe_mode_gid => Off => Off safe_mode_include_dir => no value => no value sendmail_from => me@localhost.com => me@localhost.com sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i 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 => GPCS => GPCS xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => On => On zend2.implicit_clone => no value => no value bcmath BCMath support => enabled calendar Calendar support => enabled ctype ctype functions => enabled curl CURL support => enabled CURL Information => libcurl/7.10.3 OpenSSL/0.9.7 ipv6 zlib/1.1.3 mbstring Multibyte Support => enabled Japanese support => enabled Simplified chinese support => enabled Traditional chinese support => enabled Korean support => enabled Multibyte (japanese) regex support => enabled 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 => none => none mbstring.language => neutral => neutral mbstring.substitute_character => no value => no value mime_magic mime_magic support => invalid magic file, disabled Directive => Local Value => Master Value mime_magic.debug => 0 => 0 mime_magic.magicfile => no value => no value mnogosearch mnoGoSearch Support => enabled mnoGoSearch library version => 30120 pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 3.92 11-Sep-2002 posix Revision => $Revision: 1.54 $ session Session Support => enabled Registered save handlers => files user Directive => Local Value => Master Value session.auto_start => Off => Off session.bug_compat_42 => Off => Off 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_dividend => 1000 => 1000 session.gc_maxlifetime => 1440 => 1440 session.gc_probability => 1 => 1 session.hash_bits_per_character => 5 => 5 session.hash_function => 0 => 0 session.name => PHPSESSID => PHPSESSID session.referer_check => no value => no value session.save_handler => files => files session.save_path => /tmp => /tmp session.serialize_handler => php => php session.use_cookies => On => On session.use_only_cookies => Off => Off session.use_trans_sid => Off => Off 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,input=src,form=fakeentry => a=href,area=href,frame=src,input=src,form=fakeentry user_agent => no value => no value tokenizer Tokenizer Support => enabled xml XML Support => active XML Namespace Support => active EXPAT Version => expat_1.95.5 Additional Modules Module Name Environment Variable => Value PWD => /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216 MAKEFLAGS => MFLAGS => REDIRECT_STATUS => PERL5LIB => /sw/lib/perl5 TEST_PHP_EXECUTABLE => /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/sapi/cli/php TERM_PROGRAM => Apple_Terminal MANPATH => /sw/share/man:/sw/man:/usr/local/share/man:/usr/local/man:/usr/share/man:/usr/X11R6/man CC => gcc USER => tychay SCRIPT_FILENAME => PATH_TRANSLATED => TERMCAP => ¿ÿØ QUERY_STRING => CONTENT_LENGTH => MAKELEVEL => 1 INFOPATH => /sw/share/info:/sw/info:/usr/local/share/info:/usr/local/lib/info:/usr/local/info:/usr/share/info SSH_CLIENT => deleted SHLVL => 4 LOGNAME => tychay _ => /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/sapi/cli/php REQUEST_METHOD => SHELL => /bin/sh TEST_PHP_SRCDIR => /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216 TERM => vt100 HOME => /Users/tychay TERM_PROGRAM_VERSION => 81 SSH_AUTH_SOCK => deleted PATH => /sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin __CF_USER_TEXT_ENCODING => 0x1F5:0:0 SSH_TTY => deleted CONTENT_TYPE => PHP Variables Variable => Value _SERVER["PWD"] => /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216 _SERVER["MAKEFLAGS"] => _SERVER["MFLAGS"] => _SERVER["REDIRECT_STATUS"] => _SERVER["PERL5LIB"] => /sw/lib/perl5 _SERVER["TEST_PHP_EXECUTABLE"] => /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/sapi/cli/php _SERVER["TERM_PROGRAM"] => Apple_Terminal _SERVER["MANPATH"] => /sw/share/man:/sw/man:/usr/local/share/man:/usr/local/man:/usr/share/man:/usr/X11R6/man _SERVER["CC"] => gcc _SERVER["USER"] => tychay _SERVER["SCRIPT_FILENAME"] => _SERVER["PATH_TRANSLATED"] => _SERVER["TERMCAP"] => ¿ÿØ _SERVER["QUERY_STRING"] => _SERVER["CONTENT_LENGTH"] => _SERVER["MAKELEVEL"] => 1 _SERVER["INFOPATH"] => /sw/share/info:/sw/info:/usr/local/share/info:/usr/local/lib/info:/usr/local/info:/usr/share/info _SERVER["SSH_CLIENT"] => deleted _SERVER["SHLVL"] => 4 _SERVER["LOGNAME"] => tychay _SERVER["_"] => /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216/sapi/cli/php _SERVER["REQUEST_METHOD"] => _SERVER["SHELL"] => /bin/sh _SERVER["TEST_PHP_SRCDIR"] => /Users/tychay/Documents/development/compile/php/php-5.0.0dev-030216 _SERVER["TERM"] => vt100 _SERVER["HOME"] => /Users/tychay _SERVER["TERM_PROGRAM_VERSION"] => 81 _SERVER["SSH_AUTH_SOCK"] => deleted _SERVER["PATH"] => /sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin _SERVER["__CF_USER_TEXT_ENCODING"] => 0x1F5:0:0 _SERVER["SSH_TTY"] => deleted _SERVER["CONTENT_TYPE"] => _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 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 (#9155) next »