Test results for 5.0.0-dev [failed]

From: Date: Fri, 18 Apr 2003 08:20:56 +0000
Subject: Test results for 5.0.0-dev [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-11442@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- ZE2 __clone() [tests/classes/__clone_001.phpt] Methods via variable name, bug #20120 [tests/classes/bug20120.phpt] Bug #21094 (set_error_handler not accepting methods) [tests/lang/bug21094.phpt] Bug #21800 (Segfault under interactive mode) [tests/lang/bug21800.phpt] Bug #21849 (self::constant doesn't work as method's default parameter) [tests/lang/bug21849.phpt] Bug #22367 (weird zval allocation problem) [tests/lang/bug22367.phpt] Bug #22592 (cascading assignments to strings with curly braces broken) [tests/lang/bug22592.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] correct instantiation of references between variables in sessions [ext/session/tests/006.phpt] serializing references test case using globals [ext/session/tests/019.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] stream userfilter test [ext/standard/tests/file/userfilters.phpt] date_sunrise() and date_sunset() functions [ext/standard/tests/general_functions/sunfuncts.phpt] Bug #14293 (serialize() and __sleep()) [ext/standard/tests/serialize/bug14293.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 99 Exts tested : 8 --------------------------------------------------------------------- Number of tests : 628 Tests skipped : 309 (49.2%) Tests failed : 19 ( 3.0%) Tests passed : 300 (47.8%) --------------------------------------------------------------------- Time taken : 69 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- ZE2 __clone() [tests/classes/__clone_001.phpt] Methods via variable name, bug #20120 [tests/classes/bug20120.phpt] Bug #21094 (set_error_handler not accepting methods) [tests/lang/bug21094.phpt] Bug #21800 (Segfault under interactive mode) [tests/lang/bug21800.phpt] Bug #21849 (self::constant doesn't work as method's default parameter) [tests/lang/bug21849.phpt] Bug #22367 (weird zval allocation problem) [tests/lang/bug22367.phpt] Bug #22592 (cascading assignments to strings with curly braces broken) [tests/lang/bug22592.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] correct instantiation of references between variables in sessions [ext/session/tests/006.phpt] serializing references test case using globals [ext/session/tests/019.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] stream userfilter test [ext/standard/tests/file/userfilters.phpt] date_sunrise() and date_sunset() functions [ext/standard/tests/general_functions/sunfuncts.phpt] Bug #14293 (serialize() and __sleep()) [ext/standard/tests/serialize/bug14293.phpt] ===================================================================== ================================================================================ /usr/local/src/php-cvs/php5/tests/classes/__clone_001.phpt ================================================================================ ---- EXPECTED OUTPUT 0 1 Hello New York ---- ACTUAL OUTPUT 0 Segmentation fault ---- FAILED ================================================================================ 002- 1 002+ Segmentation fault 003- Hello 004- New York ================================================================================ ================================================================================ /usr/local/src/php-cvs/php5/tests/classes/bug20120.phpt ================================================================================ ---- EXPECTED OUTPUT test test2 test2 ---- ACTUAL OUTPUT Parse error: parse error, unexpected '(' in /usr/local/src/php-cvs/php5/tests/classes/bug20120.php on line 11 ---- FAILED ================================================================================ 001- test 001+ Parse error: parse error, unexpected '(' in /usr/local/src/php-cvs/php5/tests/classes/bug20120.php on line 11 002- test2 003- test2 ================================================================================ ================================================================================ /usr/local/src/php-cvs/php5/tests/lang/bug21094.phpt ================================================================================ ---- EXPECTED OUTPUT [1024] errstr: test, errfile: %s, errline: %d ---- ACTUAL OUTPUT Notice: Array to string conversion in /usr/local/src/php-cvs/php5/tests/lang/bug21094.php on line 8 Notice: test in /usr/local/src/php-cvs/php5/tests/lang/bug21094.php on line 10 ---- FAILED ================================================================================ 001- [1024] errstr: test, errfile: %s, errline: %d 001+ Notice: Array to string conversion in /usr/local/src/php-cvs/php5/tests/lang/bug21094.php on line 8 002+ 003+ Notice: test in /usr/local/src/php-cvs/php5/tests/lang/bug21094.php on line 10 ================================================================================ ================================================================================ /usr/local/src/php-cvs/php5/tests/lang/bug21800.phpt ================================================================================ ---- EXPECTED OUTPUT Interactive mode enabled :test: ---- ACTUAL OUTPUT Segmentation fault ---- FAILED ================================================================================ 001- Interactive mode enabled 001+ Segmentation fault 002- 003- :test: ================================================================================ ================================================================================ /usr/local/src/php-cvs/php5/tests/lang/bug21849.phpt ================================================================================ ---- EXPECTED OUTPUT fubar ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- fubar 001+ ================================================================================ ================================================================================ /usr/local/src/php-cvs/php5/tests/lang/bug22367.phpt ================================================================================ ---- EXPECTED OUTPUT int(5) bool(false) bool(false) array(5) { [0]=> int(0) [1]=> int(1) [2]=> int(2) [3]=> int(3) [4]=> int(4) } array(5) { [0]=> int(0) [1]=> int(1) [2]=> int(2) [3]=> int(3) [4]=> int(4) } int(2) bool(true) bool(true) array(5) { [0]=> int(0) [1]=> int(1) [2]=> int(2) [3]=> int(3) [4]=> int(4) } array(5) { [0]=> int(0) [1]=> int(1) [2]=> int(2) [3]=> int(3) [4]=> int(4) } ---- ACTUAL OUTPUT int(5) bool(false) bool(false) array(5) { [0]=> int(4) [1]=> int(4) [2]=> int(4) [3]=> int(4) [4]=> int(4) } array(5) { [0]=> int(0) [1]=> int(1) [2]=> int(2) [3]=> int(3) [4]=> int(4) } int(2) bool(true) bool(true) array(5) { [0]=> int(0) [1]=> int(1) [2]=> int(2) [3]=> int(3) [4]=> int(4) } array(5) { [0]=> int(0) [1]=> int(1) [2]=> &int(2) [3]=> int(3) [4]=> int(4) } ---- FAILED ================================================================================ 006- int(0) 006+ int(4) 008- int(1) 008+ int(4) 010- int(2) 010+ int(4) 012- int(3) 012+ int(4) 049- int(2) 049+ &int(2) ================================================================================ ================================================================================ /usr/local/src/php-cvs/php5/tests/lang/bug22592.phpt ================================================================================ ---- EXPECTED OUTPUT string(5) "* *-*" string(7) "* *-* *" string(7) "*4*-* *" string(7) "*4*s* *" string(8) "*4*s* *0" string(8) "*-*-* *0" string(8) "*-*s*s*0" string(8) "4-4s4s*0" string(9) "4-4s4s505" string(9) "454s4s505" string(1) "-" string(6) "string" int(4) int(5) string(1) "5" [Illegal string offset: -1] ---- ACTUAL OUTPUT string(5) "* *-*" string(7) "* *-* *" string(7) "*4*-* *" string(7) "*4*s* *" string(8) "*4*s* *0" string(8) "*[0x0]*-* *0" string(8) "*[0x0]*[0x0]*s*0" string(8) "[0x0][0x0][0x0][0x0]4s*0" string(9) "[0x0][0x0][0x0][0x0]4s[0x0]05" string(9) "[0x0][0x0][0x0][0x0]4s[0x0]05" NULL NULL NULL NULL NULL Segmentation fault ---- FAILED ================================================================================ 006- string(8) "*-*-* *0" 006+ string(8) "*[0x0]*-* *0" 007- string(8) "*-*s*s*0" 007+ string(8) "*[0x0]*[0x0]*s*0" 008- string(8) "4-4s4s*0" 008+ string(8) "[0x0][0x0][0x0][0x0]4s*0" 009- string(9) "4-4s4s505" 009+ string(9) "[0x0][0x0][0x0][0x0]4s[0x0]05" 010- string(9) "454s4s505" 010+ string(9) "[0x0][0x0][0x0][0x0]4s[0x0]05" 011- string(1) "-" 011+ NULL 012- string(6) "string" 012+ NULL 013- int(4) 013+ NULL 014- int(5) 014+ NULL 015- string(1) "5" 015+ NULL 016- [Illegal string offset: -1] 016+ Segmentation fault ================================================================================ ================================================================================ /usr/local/src/php-cvs/php5/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)#1 (2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> object(foo)#2 (2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } } ---- FAILED ================================================================================ 001- object(foo)(2) { 001+ object(foo)#1 (2) { 009- &object(foo)(2) { 009+ object(foo)#2 (2) { ================================================================================ ================================================================================ /usr/local/src/php-cvs/php5/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 (2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> object(foo)#3 (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)#4 (2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> object(foo)#2 (2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } } DESTROY: abtest ---- FAILED ================================================================================ 003- object(foo)(2) { 003+ object(foo)#2 (2) { 011- &object(foo)(2) { 011+ object(foo)#3 (2) { 021- object(foo)(2) { 021+ object(foo)#4 (2) { 029- object(foo)(2) { 029+ object(foo)#2 (2) { ================================================================================ ================================================================================ /usr/local/src/php-cvs/php5/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 (2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> object(foo)#3 (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)#4 (2) { ["bar"]=> string(2) "ok" ["yes"]=> int(3) } array(1) { [3]=> object(foo)#2 (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)#3 (2) { ["bar"]=> string(2) "ok" ["yes"]=> int(3) } array(1) { [3]=> object(foo)#4 (2) { ["bar"]=> string(2) "ok" ["yes"]=> int(3) } } int(123) DESTROY: abtest CLOSE ---- FAILED ================================================================================ 003- object(foo)(2) { 003+ object(foo)#2 (2) { 011- &object(foo)(2) { 011+ object(foo)#3 (2) { 022- object(foo)(2) { 022+ object(foo)#4 (2) { 030- &object(foo)(2) { 030+ object(foo)#2 (2) { 042- object(foo)(2) { 042+ object(foo)#3 (2) { 050- object(foo)(2) { 050+ object(foo)#4 (2) { ================================================================================ ================================================================================ /usr/local/src/php-cvs/php5/ext/session/tests/006.phpt ================================================================================ ---- EXPECTED OUTPUT original values: object(a)(1) { ["test"]=> string(5) "hallo" } object(b)(1) { ["a"]=> &object(a)(1) { ["test"]=> string(5) "hallo" } } values after session: object(a)(1) { ["test"]=> string(5) "hallo" } object(b)(1) { ["a"]=> &object(a)(1) { ["test"]=> string(5) "hallo" } } ---- ACTUAL OUTPUT original values: object(a)#1 (1) { ["test"]=> string(5) "hallo" } object(b)#2 (1) { ["a"]=> &object(a)#1 (1) { ["test"]=> string(5) "hallo" } } values after session: object(a)#3 (1) { ["test"]=> string(5) "hallo" } object(b)#1 (1) { ["a"]=> &object(a)#3 (1) { ["test"]=> string(5) "hallo" } } ---- FAILED ================================================================================ 002- object(a)(1) { 002+ object(a)#1 (1) { 006- object(b)(1) { 006+ object(b)#2 (1) { 008- &object(a)(1) { 008+ &object(a)#1 (1) { 014- object(a)(1) { 014+ object(a)#3 (1) { 018- object(b)(1) { 018+ object(b)#1 (1) { 020- &object(a)(1) { 020+ &object(a)#3 (1) { ================================================================================ ================================================================================ /usr/local/src/php-cvs/php5/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 array(2) { ["o1"]=> &object(tfoo)#1 (1) { ["c"]=> int(42) } ["o2"]=> &object(tfoo)#1 (1) { ["c"]=> int(42) } } array(2) { ["o1"]=> &object(tfoo)#1 (1) { ["c"]=> int(44) } ["o2"]=> &object(tfoo)#1 (1) { ["c"]=> int(44) } } ---- FAILED ================================================================================ 003- &object(tfoo)(1) { 003+ &object(tfoo)#1 (1) { 008- &object(tfoo)(1) { 008+ &object(tfoo)#1 (1) { 015- &object(tfoo)(1) { 015+ &object(tfoo)#1 (1) { 020- &object(tfoo)(1) { 020+ &object(tfoo)#1 (1) { ================================================================================ ================================================================================ /usr/local/src/php-cvs/php5/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 /usr/local/src/php-cvs/php5/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 /usr/local/src/php-cvs/php5/ext/standard/tests/aggregation/aggregate.php on line 7 004- **** ================================================================================ ================================================================================ /usr/local/src/php-cvs/php5/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 /usr/local/src/php-cvs/php5/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 /usr/local/src/php-cvs/php5/ext/standard/tests/aggregation/aggregate_methods.php on line 6 004- simple,mix_it 005- simple_prop 006- mixing ================================================================================ ================================================================================ /usr/local/src/php-cvs/php5/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 /usr/local/src/php-cvs/php5/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 /usr/local/src/php-cvs/php5/ext/standard/tests/aggregation/aggregate_methods_by_list.php on line 10 ================================================================================ ================================================================================ /usr/local/src/php-cvs/php5/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 ================================================================================ ================================================================================ /usr/local/src/php-cvs/php5/ext/standard/tests/file/userfilters.phpt ================================================================================ ---- EXPECTED OUTPUT params: testuserfilter string(12) "HELLO THERE!" ---- ACTUAL OUTPUT Warning: stream_filter_append(): cannot use a user-space filter with a persistent stream in /usr/local/src/php-cvs/php5/ext/standard/tests/file/userfilters.php on line 26 Warning: stream_filter_append(): unable to create or locate filter "testfilter" in /usr/local/src/php-cvs/php5/ext/standard/tests/file/userfilters.php on line 26 string(12) "Hello There!" ---- FAILED ================================================================================ 001- params: testuserfilter 001+ Warning: stream_filter_append(): cannot use a user-space filter with a persistent stream in /usr/local/src/php-cvs/php5/ext/standard/tests/file/userfilters.php on line 26 002- string(12) "HELLO THERE!" 002+ 003+ Warning: stream_filter_append(): unable to create or locate filter "testfilter" in /usr/local/src/php-cvs/php5/ext/standard/tests/file/userfilters.php on line 26 004+ string(12) "Hello There!" ================================================================================ ================================================================================ /usr/local/src/php-cvs/php5/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 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.9068825098364 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 ---- FAILED ================================================================================ 015- 1059609894 04:54 4.9068825098365 015+ 1059609894 04:54 4.9068825098364 ================================================================================ ================================================================================ /usr/local/src/php-cvs/php5/ext/standard/tests/serialize/bug14293.phpt ================================================================================ ---- EXPECTED OUTPUT __sleep called O:1:"t":2:{s:1:"a";s:5:"hello";s:1:"b";N;} object(t)(2) { ["a"]=> string(5) "hello" ["b"]=> NULL } ---- ACTUAL OUTPUT __sleep called O:1:"t":2:{s:1:"a";s:5:"hello";s:1:"b";N;} object(t)#2 (2) { ["a"]=> string(5) "hello" ["b"]=> NULL } ---- FAILED ================================================================================ 003- object(t)(2) { 003+ object(t)#2 (2) { ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: Linux Automake: automake (GNU automake) 1.4-p4 Copyright (C) 1999, 2001 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. Written by Tom Tromey <tromey@cygnus.com> Autoconf: Autoconf version 2.13 Libtool: ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54) Compiler: Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.3/specs Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm --enable-objc-gc i386-linux Thread model: posix gcc version 3.2.3 20030415 (Debian 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. Libraries: libcrypt.so.1 => /lib/libcrypt.so.1 (0x4001e000) libresolv.so.2 => /lib/libresolv.so.2 (0x4004c000) libm.so.6 => /lib/libm.so.6 (0x4005c000) libdl.so.2 => /lib/libdl.so.2 (0x4007d000) libnsl.so.1 => /lib/libnsl.so.1 (0x40080000) libc.so.6 => /lib/libc.so.6 (0x40093000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) User's E-mail: per at nobolt dot com ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 5.0.0-dev System => Linux salem 2.4.18-686 #1 Sun Apr 14 11:32:47 EST 2002 i686 Build Date => Apr 17 2003 10:52:47 Configure Command => './configure' '--disable-cgi' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/local/lib/php5-cli.ini PHP API => 20020918 PHP Extension => 20020429 Zend Extension => 90021012 Debug Build => no Thread Safety => disabled Registered PHP Streams => php, http, ftp This program makes use of the Zend Scripting Language Engine: Zend Engine v2.0.0-dev, Copyright (c) 1998-2003 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_prepend_file => no value => no value browscap => no value => no value default_charset => no value => no value default_mimetype => text/html => text/html define_syslog_variables => Off => Off disable_classes => no value => no value disable_functions => no value => no value display_errors => On => On display_startup_errors => Off => Off doc_root => no value => no value docref_ext => no value => no value docref_root => no value => no value enable_dl => On => On error_append_string => no value => no value error_log => no value => no value error_prepend_string => no value => no value error_reporting => no value => no value expose_php => On => On extension_dir => /usr/local/lib/php/extensions/no-debug-non-zts-20020429 => /usr/local/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 => Off ignore_repeated_errors => Off => Off ignore_repeated_source => Off => Off ignore_user_abort => Off => Off implicit_flush => On => On include_path => .:/usr/local/lib/php => .:/usr/local/lib/php log_errors => Off => Off log_errors_max_len => 1024 => 1024 magic_quotes_gpc => On => On magic_quotes_runtime => Off => Off magic_quotes_sybase => Off => Off mail_force_extra_parameters => no value => no value max_execution_time => 0 => 0 max_input_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 => Off => Off report_memleaks => On => On report_zend_debug => Off => Off safe_mode => Off => Off safe_mode_exec_dir => no value => no value safe_mode_gid => Off => Off safe_mode_include_dir => no value => no value sendmail_from => no value => no value sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i 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 => no value => no value xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => On => On zend2.implicit_clone => no value => no value ctype ctype functions => enabled mysql MySQL Support => enabled Active Persistent Links => 0 Active Links => 0 Client API version => 3.23.49 MYSQL_MODULE_TYPE => builtin MYSQL_SOCKET => /var/run/mysqld/mysqld.sock MYSQL_INCLUDE => MYSQL_LIBS => Directive => Local Value => Master Value mysql.allow_persistent => On => On mysql.connect_timeout => -1 => -1 mysql.default_host => no value => no value mysql.default_password => no value => no value mysql.default_port => no value => no value mysql.default_socket => no value => no value mysql.default_user => no value => no value mysql.max_links => Unlimited => Unlimited mysql.max_persistent => Unlimited => Unlimited mysql.trace_mode => Off => Off pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 3.92 11-Sep-2002 posix Revision => $Revision: 1.55 $ session Session Support => enabled Registered save handlers => files user 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 => /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,form=,fieldset= => a=href,area=href,frame=src,form=,fieldset= user_agent => no value => no value tokenizer Tokenizer Support => enabled xml XML Support => active XML Namespace Support => active EXPAT Version => 1.95.5 Additional Modules Module Name Environment Variable => Value CONTENT_TYPE => LESSOPEN => | /usr/bin/lesspipe %s SSH_CLIENT => deleted USER => per CVS_RSH => ssh MAIL => /var/mail/per SSH_AGENT_PID => 9533 HOSTNAME => salem SHLVL => 1 QUERY_STRING => HOME => /home/p/per OLDPWD => /home/p/per TEST_PHP_SRCDIR => /usr/local/src/php-cvs/php5 SSH_TTY => deleted QTDIR => /usr/local/qt PS1 => [\d \T] \[\e[1m\]\u@\h\[\e[0m\]:\w> CONTENT_LENGTH => MAKEFLAGS => SCRIPT_FILENAME => PATH_TRANSLATED => COLORTERM => gnome-terminal LOGNAME => per _ => /usr/bin/make WINDOWID => 39930802 TEST_PHP_EXECUTABLE => /usr/local/src/php-cvs/php5/sapi/cli/php USERNAME => per TERM => xterm GNOME_DESKTOP_SESSION_ID => Default GDM_LANG => en_US.ISO8859-1 SESSION_MANAGER => local/salem:/tmp/.ICE-unix/9497 PATH => /home/p/per/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/qt/bin MAKELEVEL => 1 DISPLAY => bethel.intra.nobolt.net:0.0 DESKTOP_STARTUP_ID => LANG => en_US.ISO8859-1 XAUTHORITY => /home/p/per/.Xauthority 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:*.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: SSH_AUTH_SOCK => deleted SHELL => /bin/sh REDIRECT_STATUS => GDMSESSION => Gnome LESSCLOSE => /usr/bin/lesspipe %s %s REQUEST_METHOD => PWD => /usr/local/src/php-cvs/php5 CVSROOT => /var/cvs MFLAGS => CC => gcc EDITOR => vi PHP Variables Variable => Value _SERVER["CONTENT_TYPE"] => _SERVER["LESSOPEN"] => | /usr/bin/lesspipe %s _SERVER["SSH_CLIENT"] => deleted _SERVER["USER"] => per _SERVER["CVS_RSH"] => ssh _SERVER["MAIL"] => /var/mail/per _SERVER["SSH_AGENT_PID"] => 9533 _SERVER["HOSTNAME"] => salem _SERVER["SHLVL"] => 1 _SERVER["QUERY_STRING"] => _SERVER["HOME"] => /home/p/per _SERVER["OLDPWD"] => /home/p/per _SERVER["TEST_PHP_SRCDIR"] => /usr/local/src/php-cvs/php5 _SERVER["SSH_TTY"] => deleted _SERVER["QTDIR"] => /usr/local/qt _SERVER["PS1"] => [\d \T] \[\e[1m\]\u@\h\[\e[0m\]:\w> _SERVER["CONTENT_LENGTH"] => _SERVER["MAKEFLAGS"] => _SERVER["SCRIPT_FILENAME"] => _SERVER["PATH_TRANSLATED"] => _SERVER["COLORTERM"] => gnome-terminal _SERVER["LOGNAME"] => per _SERVER["_"] => /usr/bin/make _SERVER["WINDOWID"] => 39930802 _SERVER["TEST_PHP_EXECUTABLE"] => /usr/local/src/php-cvs/php5/sapi/cli/php _SERVER["USERNAME"] => per _SERVER["TERM"] => xterm _SERVER["GNOME_DESKTOP_SESSION_ID"] => Default _SERVER["GDM_LANG"] => en_US.ISO8859-1 _SERVER["SESSION_MANAGER"] => local/salem:/tmp/.ICE-unix/9497 _SERVER["PATH"] => /home/p/per/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/qt/bin _SERVER["MAKELEVEL"] => 1 _SERVER["DISPLAY"] => bethel.intra.nobolt.net:0.0 _SERVER["DESKTOP_STARTUP_ID"] => _SERVER["LANG"] => en_US.ISO8859-1 _SERVER["XAUTHORITY"] => /home/p/per/.Xauthority _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:*.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["SSH_AUTH_SOCK"] => deleted _SERVER["SHELL"] => /bin/sh _SERVER["REDIRECT_STATUS"] => _SERVER["GDMSESSION"] => Gnome _SERVER["LESSCLOSE"] => /usr/bin/lesspipe %s %s _SERVER["REQUEST_METHOD"] => _SERVER["PWD"] => /usr/local/src/php-cvs/php5 _SERVER["CVSROOT"] => /var/cvs _SERVER["MFLAGS"] => _SERVER["CC"] => gcc _SERVER["EDITOR"] => vi _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["CONTENT_TYPE"] => _ENV["LESSOPEN"] => | /usr/bin/lesspipe %s _ENV["SSH_CLIENT"] => deleted _ENV["USER"] => per _ENV["CVS_RSH"] => ssh _ENV["MAIL"] => /var/mail/per _ENV["SSH_AGENT_PID"] => 9533 _ENV["HOSTNAME"] => salem _ENV["SHLVL"] => 1 _ENV["QUERY_STRING"] => _ENV["HOME"] => /home/p/per _ENV["OLDPWD"] => /home/p/per _ENV["TEST_PHP_SRCDIR"] => /usr/local/src/php-cvs/php5 _ENV["SSH_TTY"] => deleted _ENV["QTDIR"] => /usr/local/qt _ENV["PS1"] => [\d \T] \[\e[1m\]\u@\h\[\e[0m\]:\w> _ENV["CONTENT_LENGTH"] => _ENV["MAKEFLAGS"] => _ENV["SCRIPT_FILENAME"] => _ENV["PATH_TRANSLATED"] => _ENV["COLORTERM"] => gnome-terminal _ENV["LOGNAME"] => per _ENV["_"] => /usr/bin/make _ENV["WINDOWID"] => 39930802 _ENV["TEST_PHP_EXECUTABLE"] => /usr/local/src/php-cvs/php5/sapi/cli/php _ENV["USERNAME"] => per _ENV["TERM"] => xterm _ENV["GNOME_DESKTOP_SESSION_ID"] => Default _ENV["GDM_LANG"] => en_US.ISO8859-1 _ENV["SESSION_MANAGER"] => local/salem:/tmp/.ICE-unix/9497 _ENV["PATH"] => /home/p/per/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/qt/bin _ENV["MAKELEVEL"] => 1 _ENV["DISPLAY"] => bethel.intra.nobolt.net:0.0 _ENV["DESKTOP_STARTUP_ID"] => _ENV["LANG"] => en_US.ISO8859-1 _ENV["XAUTHORITY"] => /home/p/per/.Xauthority _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:*.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["SSH_AUTH_SOCK"] => deleted _ENV["SHELL"] => /bin/sh _ENV["REDIRECT_STATUS"] => _ENV["GDMSESSION"] => Gnome _ENV["LESSCLOSE"] => /usr/bin/lesspipe %s %s _ENV["REQUEST_METHOD"] => _ENV["PWD"] => /usr/local/src/php-cvs/php5 _ENV["CVSROOT"] => /var/cvs _ENV["MFLAGS"] => _ENV["CC"] => gcc _ENV["EDITOR"] => vi PHP License This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.

« previous php.qa (#11442) next »