Test results [failed]

From: Date: Fri, 14 Mar 2003 10:09:10 +0000
Subject: Test results [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-10051@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] An interface may both inherit and implement base interfaces [tests/classes/interface_doubled.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] 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] User-space filters [ext/standard/tests/file/userfilters.phpt] getopt [ext/standard/tests/general_functions/getopt.phpt] serialize()/unserialize()/var_dump() [ext/standard/tests/serialize/001.phpt] Bug #14293 (serialize() and __sleep()) [ext/standard/tests/serialize/bug14293.phpt] Check for mktime with out-of-range parameters [ext/standard/tests/time/003.phpt] mktime() [ext/standard/tests/time/mktime.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 77 Exts tested : 9 --------------------------------------------------------------------- Number of tests : 620 Tests skipped : 296 (47.7%) Tests failed : 22 ( 3.5%) Tests passed : 302 (48.7%) --------------------------------------------------------------------- Time taken : 105 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- ZE2 __clone() [tests/classes/__clone_001.phpt] Methods via variable name, bug #20120 [tests/classes/bug20120.phpt] An interface may both inherit and implement base interfaces [tests/classes/interface_doubled.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] 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] User-space filters [ext/standard/tests/file/userfilters.phpt] getopt [ext/standard/tests/general_functions/getopt.phpt] serialize()/unserialize()/var_dump() [ext/standard/tests/serialize/001.phpt] Bug #14293 (serialize() and __sleep()) [ext/standard/tests/serialize/bug14293.phpt] Check for mktime with out-of-range parameters [ext/standard/tests/time/003.phpt] mktime() [ext/standard/tests/time/mktime.phpt] ===================================================================== ================================================================================ /usr/ports/lang/php-dev/work/php5-200303121230/tests/classes/__clone_001.phpt ================================================================================ ---- EXPECTED OUTPUT 0 1 Hello New York ---- ACTUAL OUTPUT 0 Segmentation fault (core dumped) ---- FAILED ================================================================================ 002- 1 002+ Segmentation fault (core dumped) 003- Hello 004- New York ================================================================================ ================================================================================ /usr/ports/lang/php-dev/work/php5-200303121230/tests/classes/bug20120.phpt ================================================================================ ---- EXPECTED OUTPUT test test2 test2 ---- ACTUAL OUTPUT Parse error: parse error in /usr/ports/lang/php-dev/work/php5-200303121230/tests/classes/bug20120.php on line 11 ---- FAILED ================================================================================ 001- test 001+ Parse error: parse error in /usr/ports/lang/php-dev/work/php5-200303121230/tests/classes/bug20120.php on line 11 002- test2 003- test2 ================================================================================ ================================================================================ /usr/ports/lang/php-dev/work/php5-200303121230/tests/classes/interface_doubled.phpt ================================================================================ ---- EXPECTED OUTPUT class_a is_a(class_a, if_a) yes is_a(class_a, if_b) no is_a(class_a, if_c) no is_a(class_a, if_d) no is_a(class_a, if_e) no class_b is_a(class_b, if_a) yes is_a(class_b, if_b) yes is_a(class_b, if_c) no is_a(class_b, if_d) no is_a(class_b, if_e) no class_c is_a(class_c, if_a) yes is_a(class_c, if_b) yes is_a(class_c, if_c) yes is_a(class_c, if_d) no is_a(class_c, if_e) no class_d is_a(class_d, if_a) yes is_a(class_d, if_b) yes is_a(class_d, if_c) no is_a(class_d, if_d) yes is_a(class_d, if_e) no class_e is_a(class_e, if_a) yes is_a(class_e, if_b) yes is_a(class_e, if_c) yes is_a(class_e, if_d) yes is_a(class_e, if_e) no class_f is_a(class_f, if_a) no is_a(class_f, if_b) no is_a(class_f, if_c) no is_a(class_f, if_d) no is_a(class_f, if_e) yes class_g is_a(class_g, if_a) yes is_a(class_g, if_b) yes is_a(class_g, if_c) yes is_a(class_g, if_d) yes is_a(class_g, if_e) yes ---- ACTUAL OUTPUT class_a Fatal error: Call to undefined function: class_name() in /usr/ports/lang/php-dev/work/php5-200303121230/tests/classes/interface_doubled.php on line 28 ---- FAILED ================================================================================ 001- class_a 001+ class_a 002- is_a(class_a, if_a) yes 002+ 003- is_a(class_a, if_b) no 003+ Fatal error: Call to undefined function: class_name() in /usr/ports/lang/php-dev/work/php5-200303121230/tests/classes/interface_doubled.php on line 28 004- is_a(class_a, if_c) no 005- is_a(class_a, if_d) no 006- is_a(class_a, if_e) no 007- class_b 008- is_a(class_b, if_a) yes 009- is_a(class_b, if_b) yes 010- is_a(class_b, if_c) no 011- is_a(class_b, if_d) no 012- is_a(class_b, if_e) no 013- class_c 014- is_a(class_c, if_a) yes 015- is_a(class_c, if_b) yes 016- is_a(class_c, if_c) yes 017- is_a(class_c, if_d) no 018- is_a(class_c, if_e) no 019- class_d 020- is_a(class_d, if_a) yes 021- is_a(class_d, if_b) yes 022- is_a(class_d, if_c) no 023- is_a(class_d, if_d) yes 024- is_a(class_d, if_e) no 025- class_e 026- is_a(class_e, if_a) yes 027- is_a(class_e, if_b) yes 028- is_a(class_e, if_c) yes 029- is_a(class_e, if_d) yes 030- is_a(class_e, if_e) no 031- class_f 032- is_a(class_f, if_a) no 033- is_a(class_f, if_b) no 034- is_a(class_f, if_c) no 035- is_a(class_f, if_d) no 036- is_a(class_f, if_e) yes 037- class_g 038- is_a(class_g, if_a) yes 039- is_a(class_g, if_b) yes 040- is_a(class_g, if_c) yes 041- is_a(class_g, if_d) yes 042- is_a(class_g, if_e) yes ================================================================================ ================================================================================ /usr/ports/lang/php-dev/work/php5-200303121230/tests/lang/bug21094.phpt ================================================================================ ---- EXPECTED OUTPUT [1024] errstr: test, errfile: %s, errline: %d ---- ACTUAL OUTPUT Notice: Array to string conversion in /usr/ports/lang/php-dev/work/php5-200303121230/tests/lang/bug21094.php on line 8 Notice: test in /usr/ports/lang/php-dev/work/php5-200303121230/tests/lang/bug21094.php on line 10 ---- FAILED ================================================================================ 001- [1024] errstr: test, errfile: %s, errline: %d 001+ Notice: Array to string conversion in /usr/ports/lang/php-dev/work/php5-200303121230/tests/lang/bug21094.php on line 8 002+ 003+ Notice: test in /usr/ports/lang/php-dev/work/php5-200303121230/tests/lang/bug21094.php on line 10 ================================================================================ ================================================================================ /usr/ports/lang/php-dev/work/php5-200303121230/tests/lang/bug21800.phpt ================================================================================ ---- EXPECTED OUTPUT Interactive mode enabled :test: ---- ACTUAL OUTPUT Segmentation fault (core dumped) ---- FAILED ================================================================================ 001- Interactive mode enabled 001+ Segmentation fault (core dumped) 002- 003- :test: ================================================================================ ================================================================================ /usr/ports/lang/php-dev/work/php5-200303121230/tests/lang/bug21849.phpt ================================================================================ ---- EXPECTED OUTPUT fubar ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- fubar 001+ ================================================================================ ================================================================================ /usr/ports/lang/php-dev/work/php5-200303121230/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/ports/lang/php-dev/work/php5-200303121230/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/ports/lang/php-dev/work/php5-200303121230/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/ports/lang/php-dev/work/php5-200303121230/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/ports/lang/php-dev/work/php5-200303121230/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/ports/lang/php-dev/work/php5-200303121230/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/ports/lang/php-dev/work/php5-200303121230/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/ports/lang/php-dev/work/php5-200303121230/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/ports/lang/php-dev/work/php5-200303121230/ext/standard/tests/aggregation/aggregate.php on line 7 004- **** ================================================================================ ================================================================================ /usr/ports/lang/php-dev/work/php5-200303121230/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/ports/lang/php-dev/work/php5-200303121230/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/ports/lang/php-dev/work/php5-200303121230/ext/standard/tests/aggregation/aggregate_methods.php on line 6 004- simple,mix_it 005- simple_prop 006- mixing ================================================================================ ================================================================================ /usr/ports/lang/php-dev/work/php5-200303121230/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/ports/lang/php-dev/work/php5-200303121230/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/ports/lang/php-dev/work/php5-200303121230/ext/standard/tests/aggregation/aggregate_methods_by_list.php on line 10 ================================================================================ ================================================================================ /usr/ports/lang/php-dev/work/php5-200303121230/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/ports/lang/php-dev/work/php5-200303121230/ext/standard/tests/file/userfilters.phpt ================================================================================ ---- EXPECTED OUTPUT bool(true) oncreate: string(16) "string.uppercase" NULL bool(true) read: read: string(11) "HELLO THERE" flush: onclose: ---- ACTUAL OUTPUT bool(true) oncreate: string(16) "string.uppercase" NULL oncreate: string(16) "string.uppercase" NULL bool(true) bool(false) onclose: onclose: ---- FAILED ================================================================================ 005- bool(true) 005+ oncreate: 006- read: 006+ string(16) "string.uppercase" 007- read: 007+ NULL 008- string(11) "HELLO THERE" 008+ bool(true) 009- flush: 009+ bool(false) 011+ onclose: ================================================================================ ================================================================================ /usr/ports/lang/php-dev/work/php5-200303121230/ext/standard/tests/general_functions/getopt.phpt ================================================================================ ---- EXPECTED OUTPUT array(5) { ["v"]=> bool(false) ["h"]=> bool(false) ["d"]=> string(4) "test" ["m"]=> string(4) "1234" ["t"]=> bool(false) } ---- ACTUAL OUTPUT Segmentation fault (core dumped) ---- FAILED ================================================================================ 001- array(5) { 001+ Segmentation fault (core dumped) 002- ["v"]=> 003- bool(false) 004- ["h"]=> 005- bool(false) 006- ["d"]=> 007- string(4) "test" 008- ["m"]=> 009- string(4) "1234" 010- ["t"]=> 011- bool(false) 012- } ================================================================================ ================================================================================ /usr/ports/lang/php-dev/work/php5-200303121230/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)#2 (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 (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 ================================================================================ 017- object(t)(1) { 017+ object(t)#2 (1) { 024- object(s)(2) { 024+ object(s)#2 (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+ } ================================================================================ ================================================================================ /usr/ports/lang/php-dev/work/php5-200303121230/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) { ================================================================================ ================================================================================ /usr/ports/lang/php-dev/work/php5-200303121230/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 07:00:00 2000-05-29 12:00:00 2000-01-31 12:00:00 2000-01-31 06:00:00 2000-01-31 11:00:00 2000-04-29 12:00:00 2000-04-29 07:00:00 2000-04-29 12:00:00 ---- FAILED ================================================================================ 008- 2000-05-29 13:00:00 008+ 2000-05-29 07:00:00 011- 2000-01-31 12:00:00 011+ 2000-01-31 06:00:00 014- 2000-04-29 13:00:00 014+ 2000-04-29 07:00:00 ================================================================================ ================================================================================ /usr/ports/lang/php-dev/work/php5-200303121230/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(1009839600) int(1009839600) int(1009839600) int(1009857600) int(1025474400) int(1025474400) int(1025456400) int(1025474400) ---- FAILED ================================================================================ 004- int(1009843200) 004+ int(-3662) 008- int(1025481600) 008+ int(-3662) 012- int(1009836000) 012+ int(1009857600) 015- int(1025478000) 015+ int(1025456400) ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: FreeBSD Automake: automake (GNU automake) 1.5 Written by Tom Tromey <tromey@cygnus.com>. Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 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. Autoconf: autoconf (GNU Autoconf) 2.53 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: Using builtin specs. gcc version 2.95.4 20020320 [FreeBSD] Bison: User's E-mail: sysadmin at alexdupre dot com ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 5.0.0-dev System => FreeBSD vaio.alexdupre.com 4.8-ALEXDUPRE FreeBSD 4.8-ALEXDUPRE #0: Wed M i386 Build Date => Mar 14 2003 11:05:04 Configure Command => './configure' '--enable-versioning' '--enable-inline-optimization' '--with-layout=GNU' '--disable-all' '--enable-ctype' '--with-mysql=/usr/local' '--with-pcre-regex=yes' '--enable-posix' '--enable-session' '--enable-tokenizer' '--enable-xml' '--with-expat-dir=/usr/local' '--with-zlib=yes' '--with-zlib-dir=/usr' '--with-apxs2=/usr/local/sbin/apxs' '--prefix=/usr/local' 'i386-portbld-freebsd4.8' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/local/etc/php.ini PHP API => 20020918 PHP Extension => 20020429 Zend Extension => 90021012 Debug Build => no Thread Safety => disabled Registered PHP Streams => php, http, ftp, compress.zlib 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 => On => On 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_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 => 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 => no value => no value expose_php => On => On extension_dir => /usr/local/lib/php/20020429 => /usr/local/lib/php/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/local/share/pear => .:/usr/local/share/pear log_errors => Off => Off log_errors_max_len => 1024 => 1024 magic_quotes_gpc => On => On magic_quotes_runtime => Off => Off magic_quotes_sybase => Off => Off mail_force_extra_parameters => no value => no value max_execution_time => 0 => 30 max_input_time => -1 => -1 open_basedir => no value => no value output_buffering => 0 => 0 output_handler => no value => no value post_max_size => 8M => 8M precision => 14 => 14 register_argc_argv => On => On register_globals => Off => Off register_long_arrays => 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 => 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 => 4.0.11a-gamma MYSQL_MODULE_TYPE => external MYSQL_SOCKET => /tmp/mysql.sock MYSQL_INCLUDE => -I/usr/local/include/mysql MYSQL_LIBS => -L/usr/local/lib/mysql -lmysqlclient 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_dividend => 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 => expat_1.95.6 zlib ZLib Support => enabled Compiled Version => 1.1.4 Linked Version => 1.1.4 Directive => Local Value => Master Value zlib.output_compression => Off => Off zlib.output_compression_level => -1 => -1 zlib.output_handler => no value => no value Additional Modules Module Name Environment Variable => Value CONTENT_TYPE => SSH_CLIENT => deleted USER => alex MACHTYPE => i386 MAIL => /var/mail/alex SHLVL => 2 VENDOR => intel QUERY_STRING => OLDPWD => /home/alex HOME => /root TEST_PHP_SRCDIR => /usr/ports/lang/php-dev/work/php5-200303121230 SSH_TTY => deleted PAGER => more CONTENT_LENGTH => SCRIPT_FILENAME => PATH_TRANSLATED => PR_FORM => /home/alex/pr_form GROUP => wheel MM_CHARSET => iso-8859-15 LOGNAME => alex _ => /usr/bin/su TEST_PHP_EXECUTABLE => /usr/ports/lang/php-dev/work/php5-200303121230/sapi/cli/php TERM => xterm BLOCKSIZE => K PATH => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin REMOTEHOST => thunder.alexdupre.com LANG => it_IT.ISO8859-15 SSH_AUTH_SOCK => deleted SHELL => /bin/csh HOST => vaio.alexdupre.com REDIRECT_STATUS => REQUEST_METHOD => OSTYPE => FreeBSD PWD => /usr/ports/lang/php-dev/work/php5-200303121230 SSH_CONNECTION => 192.168.0.101 3487 192.168.0.166 22 FTP_PASSIVE_MODE => YES CC => cc HOSTTYPE => FreeBSD EDITOR => vi PHP Variables Variable => Value _SERVER["CONTENT_TYPE"] => _SERVER["SSH_CLIENT"] => deleted _SERVER["USER"] => alex _SERVER["MACHTYPE"] => i386 _SERVER["MAIL"] => /var/mail/alex _SERVER["SHLVL"] => 2 _SERVER["VENDOR"] => intel _SERVER["QUERY_STRING"] => _SERVER["OLDPWD"] => /home/alex _SERVER["HOME"] => /root _SERVER["TEST_PHP_SRCDIR"] => /usr/ports/lang/php-dev/work/php5-200303121230 _SERVER["SSH_TTY"] => deleted _SERVER["PAGER"] => more _SERVER["CONTENT_LENGTH"] => _SERVER["SCRIPT_FILENAME"] => _SERVER["PATH_TRANSLATED"] => _SERVER["PR_FORM"] => /home/alex/pr_form _SERVER["GROUP"] => wheel _SERVER["MM_CHARSET"] => iso-8859-15 _SERVER["LOGNAME"] => alex _SERVER["_"] => /usr/bin/su _SERVER["TEST_PHP_EXECUTABLE"] => /usr/ports/lang/php-dev/work/php5-200303121230/sapi/cli/php _SERVER["TERM"] => xterm _SERVER["BLOCKSIZE"] => K _SERVER["PATH"] => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin _SERVER["REMOTEHOST"] => thunder.alexdupre.com _SERVER["LANG"] => it_IT.ISO8859-15 _SERVER["SSH_AUTH_SOCK"] => deleted _SERVER["SHELL"] => /bin/csh _SERVER["HOST"] => vaio.alexdupre.com _SERVER["REDIRECT_STATUS"] => _SERVER["REQUEST_METHOD"] => _SERVER["OSTYPE"] => FreeBSD _SERVER["PWD"] => /usr/ports/lang/php-dev/work/php5-200303121230 _SERVER["SSH_CONNECTION"] => 192.168.0.101 3487 192.168.0.166 22 _SERVER["FTP_PASSIVE_MODE"] => YES _SERVER["CC"] => cc _SERVER["HOSTTYPE"] => FreeBSD _SERVER["EDITOR"] => vi _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["CONTENT_TYPE"] => _ENV["SSH_CLIENT"] => deleted _ENV["USER"] => alex _ENV["MACHTYPE"] => i386 _ENV["MAIL"] => /var/mail/alex _ENV["SHLVL"] => 2 _ENV["VENDOR"] => intel _ENV["QUERY_STRING"] => _ENV["OLDPWD"] => /home/alex _ENV["HOME"] => /root _ENV["TEST_PHP_SRCDIR"] => /usr/ports/lang/php-dev/work/php5-200303121230 _ENV["SSH_TTY"] => deleted _ENV["PAGER"] => more _ENV["CONTENT_LENGTH"] => _ENV["SCRIPT_FILENAME"] => _ENV["PATH_TRANSLATED"] => _ENV["PR_FORM"] => /home/alex/pr_form _ENV["GROUP"] => wheel _ENV["MM_CHARSET"] => iso-8859-15 _ENV["LOGNAME"] => alex _ENV["_"] => /usr/bin/su _ENV["TEST_PHP_EXECUTABLE"] => /usr/ports/lang/php-dev/work/php5-200303121230/sapi/cli/php _ENV["TERM"] => xterm _ENV["BLOCKSIZE"] => K _ENV["PATH"] => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin _ENV["REMOTEHOST"] => thunder.alexdupre.com _ENV["LANG"] => it_IT.ISO8859-15 _ENV["SSH_AUTH_SOCK"] => deleted _ENV["SHELL"] => /bin/csh _ENV["HOST"] => vaio.alexdupre.com _ENV["REDIRECT_STATUS"] => _ENV["REQUEST_METHOD"] => _ENV["OSTYPE"] => FreeBSD _ENV["PWD"] => /usr/ports/lang/php-dev/work/php5-200303121230 _ENV["SSH_CONNECTION"] => 192.168.0.101 3487 192.168.0.166 22 _ENV["FTP_PASSIVE_MODE"] => YES _ENV["CC"] => cc _ENV["HOSTTYPE"] => FreeBSD _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 (#10051) next »