Test results for 5.0.0-dev [failed]

From: Date: Sat, 14 Jun 2003 21:33:29 +0000
Subject: Test results for 5.0.0-dev [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-13954@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Methods via variable name, bug #20120 [tests/classes/bug20120.phpt] Bug #23951: Defines not working in inherited classes [tests/classes/bug23951.phpt] Bug #17115 (lambda functions produce segfault with static vars) [tests/lang/bug17115.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] Bug #23624 (foreach leaves current array key as null) [tests/lang/bug23624.phpt] Bug #20087 (Assertion failure) [ext/mbstring/tests/bug20087.phpt] HTML input/output [ext/mbstring/tests/htmlent.phpt] mb_parse_str() [ext/mbstring/tests/mb_parse_str.phpt] mb_parse_str() test 2 [ext/mbstring/tests/mb_parse_str02.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] IPv6 Loopback test [ext/sockets/tests/ipv6loop.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] Bug #22414: passthru() does not read data correctly [ext/standard/tests/file/bug22414.phpt] date_sunrise() and date_sunset() functions [ext/standard/tests/general_functions/sunfuncts.phpt] Serialize and namespaces [ext/standard/tests/serialize/005.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 68 Exts tested : 15 --------------------------------------------------------------------- Number of tests : 655 Tests skipped : 241 (36.8%) Tests warned : 0 ( 0.0%) Tests failed : 23 ( 3.5%) Tests passed : 391 (59.7%) --------------------------------------------------------------------- Time taken : 28 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Methods via variable name, bug #20120 [tests/classes/bug20120.phpt] Bug #23951: Defines not working in inherited classes [tests/classes/bug23951.phpt] Bug #17115 (lambda functions produce segfault with static vars) [tests/lang/bug17115.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] Bug #23624 (foreach leaves current array key as null) [tests/lang/bug23624.phpt] Bug #20087 (Assertion failure) [ext/mbstring/tests/bug20087.phpt] HTML input/output [ext/mbstring/tests/htmlent.phpt] mb_parse_str() [ext/mbstring/tests/mb_parse_str.phpt] mb_parse_str() test 2 [ext/mbstring/tests/mb_parse_str02.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] IPv6 Loopback test [ext/sockets/tests/ipv6loop.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] Bug #22414: passthru() does not read data correctly [ext/standard/tests/file/bug22414.phpt] date_sunrise() and date_sunset() functions [ext/standard/tests/general_functions/sunfuncts.phpt] Serialize and namespaces [ext/standard/tests/serialize/005.phpt] ===================================================================== ================================================================================ /admin/admin/php5-200306141730/tests/classes/bug20120.phpt ================================================================================ ---- EXPECTED OUTPUT test test2 test2 ---- ACTUAL OUTPUT Parse error: parse error in /admin/admin/php5-200306141730/tests/classes/bug20120.php on line 11 ---- FAILED ================================================================================ 001- test 001+ Parse error: parse error in /admin/admin/php5-200306141730/tests/classes/bug20120.php on line 11 002- test2 003- test2 ================================================================================ ================================================================================ /admin/admin/php5-200306141730/tests/classes/bug23951.phpt ================================================================================ ---- EXPECTED OUTPUT a Object ( [a_var] => Array ( [1] => foo1_value [2] => foo2_value ) ) b Object ( [a_var] => Array ( [1] => foo1_value [2] => foo2_value ) [b_var] => foo ) ---- ACTUAL OUTPUT a Object ( [a_var] => Array ( [1] => foo1_value [2] => foo2_value ) ) b Object ( [b_var] => foo [a_var] => Array ( [1] => foo1_value [2] => foo2_value ) ) ---- FAILED ================================================================================ 012- [a_var] => Array 012+ [b_var] => foo 013- ( 013+ [a_var] => Array 014- [1] => foo1_value 014+ ( 015- [2] => foo2_value 015+ [1] => foo1_value 016- ) 016+ [2] => foo2_value 017- 017+ ) 018- [b_var] => foo 018+ ================================================================================ ================================================================================ /admin/admin/php5-200306141730/tests/lang/bug17115.phpt ================================================================================ ---- EXPECTED OUTPUT int(0) int(1) int(2) ---- ACTUAL OUTPUT NULL NULL NULL ---- FAILED ================================================================================ 001- int(0) 001+ NULL 002- int(1) 002+ NULL 003- int(2) 003+ NULL ================================================================================ ================================================================================ /admin/admin/php5-200306141730/tests/lang/bug21800.phpt ================================================================================ ---- EXPECTED OUTPUT Interactive mode enabled :test: ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- Interactive mode enabled 001+ 002- 003- :test: ================================================================================ ================================================================================ /admin/admin/php5-200306141730/tests/lang/bug21849.phpt ================================================================================ ---- EXPECTED OUTPUT fubar ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- fubar 001+ ================================================================================ ================================================================================ /admin/admin/php5-200306141730/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) ================================================================================ ================================================================================ /admin/admin/php5-200306141730/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 [Illegal string offset: -1] ---- 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 ================================================================================ ================================================================================ /admin/admin/php5-200306141730/tests/lang/bug23624.phpt ================================================================================ ---- EXPECTED OUTPUT string(3) "one" string(5) "three" ---- ACTUAL OUTPUT string(3) "one" bool(false) ---- FAILED ================================================================================ 002- string(5) "three" 002+ bool(false) ================================================================================ ================================================================================ /admin/admin/php5-200306141730/ext/mbstring/tests/bug20087.phpt ================================================================================ ---- EXPECTED OUTPUT bool(true) string(0) "" bool(true) string(3) "moo" ---- ACTUAL OUTPUT bool(true) string(9) "blah blah" bool(true) ERR: Notice NULL ---- FAILED ================================================================================ 002- string(0) "" 002+ string(9) "blah blah" 004- string(3) "moo" 004+ ERR: Notice 005+ NULL ================================================================================ ================================================================================ /admin/admin/php5-200306141730/ext/mbstring/tests/htmlent.phpt ================================================================================ ---- EXPECTED OUTPUT HTML-ENTITIES>UTF-8>HTML-ENTITIES test='&&;&@AB&#128;&#129;&#130;&auml;&ouml;&uuml;&euro;&lang;&rang;' ---- ACTUAL OUTPUT HTML-ENTITIES>UTF-8>HTML-ENTITIES test='' ---- FAILED ================================================================================ 002- test='&&;&@AB&#128;&#129;&#130;&auml;&ouml;&uuml;&euro;&lang;&rang;' 002+ test='' ================================================================================ ================================================================================ /admin/admin/php5-200306141730/ext/mbstring/tests/mb_parse_str.phpt ================================================================================ ---- EXPECTED OUTPUT array(2) { ["foo"]=> string(3) "abc" ["bar"]=> string(3) "def" } string(0) "" string(0) "" string(3) "abc" string(3) "def" array(2) { ["+foo"]=> string(3) "def" ["-bar"]=> string(3) "jkl" } string(0) "" string(0) "" string(0) "" string(0) "" array(2) { ["foo"]=> array(3) { [0]=> string(3) "abc" [1]=> string(3) "def" [2]=> string(3) "ghi" } ["bar"]=> array(1) { [0]=> string(3) "jkl" } } string(0) "" string(0) "" array(3) { [0]=> string(3) "abc" [1]=> string(3) "def" [2]=> string(3) "ghi" } array(1) { [0]=> string(3) "jkl" } ---- ACTUAL OUTPUT array(2) { ["foo"]=> string(3) "abc" ["bar"]=> string(3) "def" } string(0) "" string(0) "" string(0) "" string(0) "" array(2) { ["+foo"]=> string(3) "def" ["-bar"]=> string(3) "jkl" } string(0) "" string(0) "" string(0) "" string(0) "" array(2) { ["foo"]=> array(3) { [0]=> string(3) "abc" [1]=> string(3) "def" [2]=> string(3) "ghi" } ["bar"]=> array(1) { [0]=> string(3) "jkl" } } string(0) "" string(0) "" string(0) "" string(0) "" ---- FAILED ================================================================================ 009- string(3) "abc" 009+ string(0) "" 010- string(3) "def" 010+ string(0) "" 039- array(3) { 039+ string(0) "" 040- [0]=> 040+ string(0) "" 041- string(3) "abc" 042- [1]=> 043- string(3) "def" 044- [2]=> 045- string(3) "ghi" 046- } 047- array(1) { 048- [0]=> 049- string(3) "jkl" 050- } ================================================================================ ================================================================================ /admin/admin/php5-200306141730/ext/mbstring/tests/mb_parse_str02.phpt ================================================================================ ---- EXPECTED OUTPUT array(3) { ["foo"]=> string(3) "abc" ["bar"]=> string(3) "def" ["fubar"]=> string(3) "ghi" } string(0) "" string(0) "" string(0) "" string(3) "abc" string(3) "def" string(3) "ghi" array(3) { ["+foo"]=> string(3) "def" ["-bar"]=> string(3) "jkl" ["fubar"]=> string(0) "" } string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" array(3) { ["foo"]=> array(4) { [0]=> string(3) "abc" [1]=> string(3) "def" [2]=> string(3) "ghi" [3]=> string(0) "" } ["bar"]=> array(1) { [0]=> string(0) "" } ["fubar"]=> array(1) { [0]=> string(1) "=" } } string(0) "" string(0) "" string(0) "" array(4) { [0]=> string(3) "abc" [1]=> string(3) "def" [2]=> string(3) "ghi" [3]=> string(0) "" } array(1) { [0]=> string(0) "" } array(1) { [0]=> string(1) "=" } ---- ACTUAL OUTPUT array(3) { ["foo"]=> string(3) "abc" ["bar"]=> string(3) "def" ["fubar"]=> string(3) "ghi" } string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" array(3) { ["+foo"]=> string(3) "def" ["-bar"]=> string(3) "jkl" ["fubar"]=> string(0) "" } string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" array(3) { ["foo"]=> array(4) { [0]=> string(3) "abc" [1]=> string(3) "def" [2]=> string(3) "ghi" [3]=> string(0) "" } ["bar"]=> array(1) { [0]=> string(0) "" } ["fubar"]=> array(1) { [0]=> string(1) "=" } } string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" ---- FAILED ================================================================================ 012- string(3) "abc" 012+ string(0) "" 013- string(3) "def" 013+ string(0) "" 014- string(3) "ghi" 014+ string(0) "" 055- array(4) { 055+ string(0) "" 056- [0]=> 056+ string(0) "" 057- string(3) "abc" 057+ string(0) "" 058- [1]=> 059- string(3) "def" 060- [2]=> 061- string(3) "ghi" 062- [3]=> 063- string(0) "" 064- } 065- array(1) { 066- [0]=> 067- string(0) "" 068- } 069- array(1) { 070- [0]=> 071- string(1) "=" 072- } ================================================================================ ================================================================================ /admin/admin/php5-200306141730/ext/session/tests/019.phpt ================================================================================ ---- EXPECTED 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) } } ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- array(2) { 001+ 002- ["o1"]=> 003- &object(tfoo)#1 (1) { 004- ["c"]=> 005- int(42) 006- } 007- ["o2"]=> 008- &object(tfoo)#1 (1) { 009- ["c"]=> 010- int(42) 011- } 012- } 013- array(2) { 014- ["o1"]=> 015- &object(tfoo)#1 (1) { 016- ["c"]=> 017- int(44) 018- } 019- ["o2"]=> 020- &object(tfoo)#1 (1) { 021- ["c"]=> 022- int(44) 023- } 024- } ================================================================================ ================================================================================ /admin/admin/php5-200306141730/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+ ================================================================================ ================================================================================ /admin/admin/php5-200306141730/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" /> ================================================================================ ================================================================================ /admin/admin/php5-200306141730/ext/sockets/tests/ipv6loop.phpt ================================================================================ ---- EXPECTED OUTPUT string(10) "ABCdef123 " ---- ACTUAL OUTPUT Warning: socket_create(): Unable to create socket [97]: Address family not supported by protocol in /admin/admin/php5-200306141730/ext/sockets/tests/ipv6loop.php on line 3 Unable to create AF_INET6 socket [server] ---- FAILED ================================================================================ 001- string(10) "ABCdef123 001+ Warning: socket_create(): Unable to create socket [97]: Address family not supported by protocol in /admin/admin/php5-200306141730/ext/sockets/tests/ipv6loop.php on line 3 002- " 002+ Unable to create AF_INET6 socket [server] ================================================================================ ================================================================================ /admin/admin/php5-200306141730/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 /admin/admin/php5-200306141730/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 /admin/admin/php5-200306141730/ext/standard/tests/aggregation/aggregate.php on line 7 004- **** ================================================================================ ================================================================================ /admin/admin/php5-200306141730/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 /admin/admin/php5-200306141730/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 /admin/admin/php5-200306141730/ext/standard/tests/aggregation/aggregate_methods.php on line 6 004- simple,mix_it 005- simple_prop 006- mixing ================================================================================ ================================================================================ /admin/admin/php5-200306141730/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 /admin/admin/php5-200306141730/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 /admin/admin/php5-200306141730/ext/standard/tests/aggregation/aggregate_methods_by_list.php on line 10 ================================================================================ ================================================================================ /admin/admin/php5-200306141730/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 ================================================================================ ================================================================================ /admin/admin/php5-200306141730/ext/standard/tests/file/bug22414.phpt ================================================================================ ---- EXPECTED OUTPUT HELLO Works ---- ACTUAL OUTPUT HELLO sh: /usr/local/php/bin/php: Permission denied Does not work ---- FAILED ================================================================================ 002- Works 002+ sh: /usr/local/php/bin/php: Permission denied 003+ Does not work ================================================================================ ================================================================================ /admin/admin/php5-200306141730/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 ================================================================================ ================================================================================ /admin/admin/php5-200306141730/ext/standard/tests/serialize/005.phpt ================================================================================ ---- EXPECTED OUTPUT #### 1 #### object(foo:baz::bar)#1 (0) { } string(14) "O:3:"bar":0:{}" object(__PHP_Incomplete_Class)#2 (1) { ["__PHP_Incomplete_Class_Name"]=> string(3) "bar" } #### 2 #### string(14) "O:3:"baz":0:{}" object(baz)#3 (0) { } #### 3 #### object(__PHP_Incomplete_Class)#3 (1) { ["__PHP_Incomplete_Class_Name"]=> string(7) "binford" } #### 4 #### object(power::binford)#3 (0) { } #### 5 #### Warning: unserialize(): Function autoload() hasn't defined the class it was called for in %s on line %d object(__PHP_Incomplete_Class)#3 (1) { ["__PHP_Incomplete_Class_Name"]=> string(14) "idiot::binford" } ---- ACTUAL OUTPUT Parse error: parse error in /admin/admin/php5-200306141730/ext/standard/tests/serialize/005.php on line 9 ---- FAILED ================================================================================ 001- #### 1 #### 001+ Parse error: parse error in /admin/admin/php5-200306141730/ext/standard/tests/serialize/005.php on line 9 002- object(foo:baz::bar)#1 (0) { 003- } 004- string(14) "O:3:"bar":0:{}" 005- object(__PHP_Incomplete_Class)#2 (1) { 006- ["__PHP_Incomplete_Class_Name"]=> 007- string(3) "bar" 008- } 009- #### 2 #### 010- string(14) "O:3:"baz":0:{}" 011- object(baz)#3 (0) { 012- } 013- #### 3 #### 014- object(__PHP_Incomplete_Class)#3 (1) { 015- ["__PHP_Incomplete_Class_Name"]=> 016- string(7) "binford" 017- } 018- #### 4 #### 019- object(power::binford)#3 (0) { 020- } 021- #### 5 #### 022- 023- Warning: unserialize(): Function autoload() hasn't defined the class it was called for in %s on line %d 024- object(__PHP_Incomplete_Class)#3 (1) { 025- ["__PHP_Incomplete_Class_Name"]=> 026- string(14) "idiot::binford" 027- } ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: Linux - Linux prism.goldenbluellc.com 2.4.18-27.7.x #1 Fri Mar 14 06:44:53 EST 2003 i686 Automake: automake (GNU automake) 1.4-p5 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-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-112.7.2) Bison: GNU Bison version 1.28 Libraries: libcrypt.so.1 => /lib/libcrypt.so.1 (0x40022000) libssl.so.0.9.6 => /usr/local/ssl/lib/libssl.so.0.9.6 (0x4004f000) libcrypto.so.0.9.6 => /usr/local/ssl/lib/libcrypto.so.0.9.6 (0x4007b000) libresolv.so.2 => /lib/libresolv.so.2 (0x4012f000) libm.so.6 => /lib/i686/libm.so.6 (0x40141000) libdl.so.2 => /lib/libdl.so.2 (0x40164000) libnsl.so.1 => /lib/libnsl.so.1 (0x40169000) libgd.so => /usr/lib/libgd.so (0x4017f000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x401b4000) libfreetype.so.0 => /usr/local/lib/libfreetype.so.0 (0x401d3000) libpng.so.2 => /usr/lib/libpng.so.2 (0x4020d000) libc.so.6 => /lib/i686/libc.so.6 (0x4022f000) libz.so.1 => /usr/local/lib/libz.so.1 (0x4036c000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) User's E-mail: golden_moon_rising at yahoo dot com ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 5.0.0-dev System => Linux prism.goldenbluellc.com 2.4.18-27.7.x #1 Fri Mar 14 06:44:53 EST 2003 i686 Build Date => Jun 14 2003 14:20:48 Configure Command => './configure' '--prefix=/usr/local/php' '--enable-module=so' '--with-config-file-path=/etc/phpini/php432' '--enable-fastcgi' '--with-gd=shared' '--enable-safe-mode' '--enable-magic-quotes' '--enable-bcmath' '--with-openssl=shared,/usr/local/ssl' '--enable-calendar' '--enable-ftp' '--enable-dba=shared' '--with-db4=shared,/usr/local/BerkeleyDB.4.1' '--enable-dbx' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-sockets' '--enable-gd-native-ttf' '--enable-sysvsem' '--enable-sysvshm' '--disable-libtool-lock' '--enable-inline-optimization' '--enable-memory-limit' '--with-bz2=shared' '--with-gdbm=shared' '--with-cdb' '--with-mysql=shared,/usr' '--with-pspell=shared' '--with-jpeg-dir=shared,/usr/local' '--with-png-dir=shared,/usr/local/lib' '--with-zlib=shared,/usr/local' '--with-zlib-dir=/usr/local' '--enable-dio' '--with-freetype-dir=shared' '--without-t1lib' '--enable-track-vars' '--with-mcrypt=shared' '--with-mhash=shared' '--without-pgsql' '--without-oracle' '--without-oci8' '--without-fbsql' '--without-sybase' '--without-iodbc' '--without-unixODBC' '--without-openlink' '--with-curl=shared,/usr/local' '--with-curlwrappers' '--disable-xml' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /etc/phpini/php432 PHP API => 20030518 PHP Extension => 20020429 Zend Extension => 90021012 Debug Build => no Thread Safety => disabled Registered PHP Streams => php 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/php/lib/php/extensions/no-debug-non-zts-20020429 => /usr/local/php/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 => On => On ignore_repeated_errors => Off => Off ignore_repeated_source => Off => Off ignore_user_abort => Off => Off implicit_flush => Off => Off include_path => .:/usr/local/php/lib/php => .:/usr/local/php/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 => 30 => 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 => On => On 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 => no value => no value 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 dbx dbx support => enabled dbx version => 1.0.0 supported databases => MySQL ODBC PostgreSQL Microsoft SQL Server FrontBase Oracle 8 (oci8) Sybase-CT Directive => Local Value => Master Value dbx.colnames_case => unchanged => unchanged dio dio support => enabled ftp FTP support => enabled mbstring Multibyte Support => enabled Japanese support => enabled Multibyte (japanese) regex support => enabled mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1. Directive => Local Value => Master Value mbstring.detect_order => no value => no value mbstring.encoding_translation => Off => Off mbstring.func_overload => 0 => 0 mbstring.http_input => pass => pass mbstring.http_output => pass => pass mbstring.internal_encoding => none => none mbstring.language => neutral => neutral mbstring.substitute_character => no value => no value pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 3.92 11-Sep-2002 posix Revision => $Revision: 1.56 $ 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 sockets Sockets Support => enabled 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 Additional Modules Module Name sysvsem sysvshm Environment Variable => Value PWD => /admin/admin/php5-200306141730 MAKEFLAGS => SCRIPT_FILENAME => MFLAGS => HOSTNAME => prism.goldenbluellc.com HISTFILESIZE => 500 MANPATH => /usr/local/man:/usr/share/man LESSOPEN => |/usr/bin/lesspipe.sh %s CC => gcc REQUEST_METHOD => HISTCONTROL => ignoredups LS_COLORS => no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=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:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: USER => admin MACHTYPE => i386-redhat-linux-gnu TEST_PHP_SRCDIR => /admin/admin/php5-200306141730 datenow => 2003-06-14 MAIL => /admin/admin/mail INPUTRC => /etc/inputrc PATH_TRANSLATED => EDITOR => vi LANG => en_US QUERY_STRING => CONTENT_LENGTH => MAKELEVEL => 1 FIGNORE => .o:~:.obj SHLVL => 3 LOGNAME => admin REDIRECT_STATUS => _ => /admin/admin/php5-200306141730/sapi/cli/php TEST_PHP_EXECUTABLE => /admin/admin/php5-200306141730/sapi/cli/php SHELL => /bin/sh HOSTTYPE => i386 HISTSIZE => 500 OSTYPE => linux-gnu TERM => xterm HOME => /admin/admin SSH_AUTH_SOCK => deleted PATH => /usr/local/bin:/bin:/usr/bin:/admin/admin/bin SSH_TTY => deleted CONTENT_TYPE => PHP Variables Variable => Value _SERVER["PWD"] => /admin/admin/php5-200306141730 _SERVER["MAKEFLAGS"] => _SERVER["SCRIPT_FILENAME"] => _SERVER["MFLAGS"] => _SERVER["HOSTNAME"] => prism.goldenbluellc.com _SERVER["HISTFILESIZE"] => 500 _SERVER["MANPATH"] => /usr/local/man:/usr/share/man _SERVER["LESSOPEN"] => |/usr/bin/lesspipe.sh %s _SERVER["CC"] => gcc _SERVER["REQUEST_METHOD"] => _SERVER["HISTCONTROL"] => ignoredups _SERVER["LS_COLORS"] => no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=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:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: _SERVER["USER"] => admin _SERVER["MACHTYPE"] => i386-redhat-linux-gnu _SERVER["TEST_PHP_SRCDIR"] => /admin/admin/php5-200306141730 _SERVER["datenow"] => 2003-06-14 _SERVER["MAIL"] => /admin/admin/mail _SERVER["INPUTRC"] => /etc/inputrc _SERVER["PATH_TRANSLATED"] => _SERVER["EDITOR"] => vi _SERVER["LANG"] => en_US _SERVER["QUERY_STRING"] => _SERVER["CONTENT_LENGTH"] => _SERVER["MAKELEVEL"] => 1 _SERVER["FIGNORE"] => .o:~:.obj _SERVER["SHLVL"] => 3 _SERVER["LOGNAME"] => admin _SERVER["REDIRECT_STATUS"] => _SERVER["_"] => /admin/admin/php5-200306141730/sapi/cli/php _SERVER["TEST_PHP_EXECUTABLE"] => /admin/admin/php5-200306141730/sapi/cli/php _SERVER["SHELL"] => /bin/sh _SERVER["HOSTTYPE"] => i386 _SERVER["HISTSIZE"] => 500 _SERVER["OSTYPE"] => linux-gnu _SERVER["TERM"] => xterm _SERVER["HOME"] => /admin/admin _SERVER["SSH_AUTH_SOCK"] => deleted _SERVER["PATH"] => /usr/local/bin:/bin:/usr/bin:/admin/admin/bin _SERVER["SSH_TTY"] => deleted _SERVER["CONTENT_TYPE"] => _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["PWD"] => /admin/admin/php5-200306141730 _ENV["MAKEFLAGS"] => _ENV["SCRIPT_FILENAME"] => _ENV["MFLAGS"] => _ENV["HOSTNAME"] => prism.goldenbluellc.com _ENV["HISTFILESIZE"] => 500 _ENV["MANPATH"] => /usr/local/man:/usr/share/man _ENV["LESSOPEN"] => |/usr/bin/lesspipe.sh %s _ENV["CC"] => gcc _ENV["REQUEST_METHOD"] => _ENV["HISTCONTROL"] => ignoredups _ENV["LS_COLORS"] => no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=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:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: _ENV["USER"] => admin _ENV["MACHTYPE"] => i386-redhat-linux-gnu _ENV["TEST_PHP_SRCDIR"] => /admin/admin/php5-200306141730 _ENV["datenow"] => 2003-06-14 _ENV["MAIL"] => /admin/admin/mail _ENV["INPUTRC"] => /etc/inputrc _ENV["PATH_TRANSLATED"] => _ENV["EDITOR"] => vi _ENV["LANG"] => en_US _ENV["QUERY_STRING"] => _ENV["CONTENT_LENGTH"] => _ENV["MAKELEVEL"] => 1 _ENV["FIGNORE"] => .o:~:.obj _ENV["SHLVL"] => 3 _ENV["LOGNAME"] => admin _ENV["REDIRECT_STATUS"] => _ENV["_"] => /admin/admin/php5-200306141730/sapi/cli/php _ENV["TEST_PHP_EXECUTABLE"] => /admin/admin/php5-200306141730/sapi/cli/php _ENV["SHELL"] => /bin/sh _ENV["HOSTTYPE"] => i386 _ENV["HISTSIZE"] => 500 _ENV["OSTYPE"] => linux-gnu _ENV["TERM"] => xterm _ENV["HOME"] => /admin/admin _ENV["SSH_AUTH_SOCK"] => deleted _ENV["PATH"] => /usr/local/bin:/bin:/usr/bin:/admin/admin/bin _ENV["SSH_TTY"] => deleted _ENV["CONTENT_TYPE"] => 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 (#13954) next »