Test results for 5.0.3 [failed]

From: Date: Tue, 04 Jan 2005 17:50:24 +0000
Subject: Test results for 5.0.3 [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-22721@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- ZE2 ArrayAccess and sub Arrays [tests/classes/array_access_005.phpt] ZE2 ArrayAccess and ASSIGN_OP operators (+=) [tests/classes/array_access_006.phpt] ZE2 ArrayAccess and [] assignment [tests/classes/array_access_007.phpt] ZE2 Autoload from destructor [tests/classes/autoload_006.phpt] ZE2 Do not call destructors if constructor fails [tests/classes/ctor_failure.phpt] ZE2 An interface constructor signature must not be inherited [tests/classes/interface_construct.phpt] ZE2 An interface extends base interfaces [tests/classes/interface_doubled.phpt] ZE2 An interface is inherited [tests/classes/interface_implemented.phpt] ZE2 An interface must be implemented [tests/classes/interface_must_be_implemented.phpt] ZE2 An interface method allows additional default arguments [tests/classes/interface_optional_arg.phpt] ZE2 interfaces [tests/classes/interfaces_001.phpt] ZE2 interface with an unimplemented method [tests/classes/interfaces_002.phpt] ZE2 iterators and array wrapping [tests/classes/iterators_006.phpt] $this can be an argument to a static function [tests/classes/static_this.phpt] ZE2 class type hinting [tests/classes/type_hinting_001.phpt] $this in constructor test [tests/lang/030.phpt] Convert warnings to exceptions [tests/lang/038.phpt] Catch Interfaces [tests/lang/039.phpt] Bug #29566 (foreach/string handling strangeness) [tests/lang/bug29566.phpt] Bug #29893 (segfault when using array as index) [tests/lang/bug29893.phpt] Bug #29944 (function defined in switch crashes PHP) [tests/lang/bug29944.phpt] Bug #22836 (returning references to NULL) [Zend/tests/bug22836.phpt] Bug #26229 (getIterator() segfaults when it returns arrays or scalars) [Zend/tests/bug26229.phpt] Bug #28444 (Cannot access undefined property for object with overloaded property access) [Zend/tests/bug28444.phpt] Bug #29368 (The destructor is called when an exception is thrown from the constructor) [Zend/tests/bug29368.phpt] Bug #29828 (Interfaces no longer work) [Zend/tests/bug29828.phpt] Bug #29883 (isset gives invalid values on strings) [Zend/tests/bug29883.phpt] iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt] Bug #29992 (foreach by reference corrupts the array) [ext/standard/tests/array/bug29992.phpt] fopencookie detected and working (or cast mechanism works) [ext/standard/tests/file/fopencookie.phpt] #30234 (__autoload() not invoked for interfaces) [ext/standard/tests/serialize/bug30234.phpt] Bug #20382 (strtotime ("Monday", $date) produces wrong result on DST changeover) [ext/standard/tests/time/bug20382.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 68 Exts tested : 15 --------------------------------------------------------------------- Number of tests : 1291 610 Tests skipped : 681 (52.7%) -------- Tests warned : 0 (0.0%) (0.0%) Tests failed : 32 (2.5%) (5.2%) Tests passed : 578 (44.8%) (94.8%) --------------------------------------------------------------------- Time taken : 76 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- ZE2 ArrayAccess and sub Arrays [tests/classes/array_access_005.phpt] ZE2 ArrayAccess and ASSIGN_OP operators (+=) [tests/classes/array_access_006.phpt] ZE2 ArrayAccess and [] assignment [tests/classes/array_access_007.phpt] ZE2 Autoload from destructor [tests/classes/autoload_006.phpt] ZE2 Do not call destructors if constructor fails [tests/classes/ctor_failure.phpt] ZE2 An interface constructor signature must not be inherited [tests/classes/interface_construct.phpt] ZE2 An interface extends base interfaces [tests/classes/interface_doubled.phpt] ZE2 An interface is inherited [tests/classes/interface_implemented.phpt] ZE2 An interface must be implemented [tests/classes/interface_must_be_implemented.phpt] ZE2 An interface method allows additional default arguments [tests/classes/interface_optional_arg.phpt] ZE2 interfaces [tests/classes/interfaces_001.phpt] ZE2 interface with an unimplemented method [tests/classes/interfaces_002.phpt] ZE2 iterators and array wrapping [tests/classes/iterators_006.phpt] $this can be an argument to a static function [tests/classes/static_this.phpt] ZE2 class type hinting [tests/classes/type_hinting_001.phpt] $this in constructor test [tests/lang/030.phpt] Convert warnings to exceptions [tests/lang/038.phpt] Catch Interfaces [tests/lang/039.phpt] Bug #29566 (foreach/string handling strangeness) [tests/lang/bug29566.phpt] Bug #29893 (segfault when using array as index) [tests/lang/bug29893.phpt] Bug #29944 (function defined in switch crashes PHP) [tests/lang/bug29944.phpt] Bug #22836 (returning references to NULL) [Zend/tests/bug22836.phpt] Bug #26229 (getIterator() segfaults when it returns arrays or scalars) [Zend/tests/bug26229.phpt] Bug #28444 (Cannot access undefined property for object with overloaded property access) [Zend/tests/bug28444.phpt] Bug #29368 (The destructor is called when an exception is thrown from the constructor) [Zend/tests/bug29368.phpt] Bug #29828 (Interfaces no longer work) [Zend/tests/bug29828.phpt] Bug #29883 (isset gives invalid values on strings) [Zend/tests/bug29883.phpt] iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt] Bug #29992 (foreach by reference corrupts the array) [ext/standard/tests/array/bug29992.phpt] fopencookie detected and working (or cast mechanism works) [ext/standard/tests/file/fopencookie.phpt] #30234 (__autoload() not invoked for interfaces) [ext/standard/tests/serialize/bug30234.phpt] Bug #20382 (strtotime ("Monday", $date) produces wrong result on DST changeover) [ext/standard/tests/time/bug20382.phpt] ===================================================================== ================================================================================ /home/mk/php/php-5.0.3/tests/classes/array_access_005.phpt ================================================================================ ---- EXPECTED OUTPUT string(3) "Joe" string(6) "JoeFoo" string(9) "JoeFooBar" ---ArrayOverloading--- string(3) "Joe" string(6) "JoeFoo" string(9) "JoeFooBar" ---Done--- ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001+ 001- string(3) "Joe" 002- string(6) "JoeFoo" 003- string(9) "JoeFooBar" 004- ---ArrayOverloading--- 005- string(3) "Joe" 006- string(6) "JoeFoo" 007- string(9) "JoeFooBar" 008- ---Done--- ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/tests/classes/array_access_006.phpt ================================================================================ ---- EXPECTED OUTPUT int(12) ---Done--- ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001+ 001- int(12) 002- ---Done--- ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/tests/classes/array_access_007.phpt ================================================================================ ---- EXPECTED OUTPUT array(4) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(4) } ===DONE=== ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001+ 001- array(4) { 002- [0]=> 003- int(1) 004- [1]=> 005- int(2) 006- [2]=> 007- int(3) 008- [3]=> 009- int(4) 010- } 011- ===DONE=== ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/tests/classes/autoload_006.phpt ================================================================================ ---- EXPECTED OUTPUT bool(false) bool(false) __autoload(autoload_interface) __autoload(Autoload_Implements) object(autoload_implements)#%d (0) { } bool(true) bool(true) bool(true) ===DONE=== ---- ACTUAL OUTPUT bool(false) bool(false) __autoload(autoload_interface) ---- FAILED ================================================================================ 004- __autoload(Autoload_Implements) 005- object(autoload_implements)#%d (0) { 006- } 007- bool(true) 008- bool(true) 009- bool(true) 010- ===DONE=== ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/tests/classes/ctor_failure.phpt ================================================================================ ---- EXPECTED OUTPUT Test::__construct(Hello) Caught Exception(Hello) ===DONE=== ---- ACTUAL OUTPUT Test::__construct(Hello) Test::__destruct Caught Exception(Hello) ===DONE=== ---- FAILED ================================================================================ 002+ Test::__destruct ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/tests/classes/interface_construct.phpt ================================================================================ ---- EXPECTED OUTPUT foo ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001+ 001- foo ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/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) no ===DONE=== ---- ACTUAL OUTPUT class_a ---- FAILED ================================================================================ 002- is_a(class_a, if_a) yes 003- is_a(class_a, if_b) no 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) no 043- ===DONE=== ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/tests/classes/interface_implemented.phpt ================================================================================ ---- EXPECTED OUTPUT is_a(base, base) = yes is_a(base, derived_a) = no is_a(base, derived_b) = no is_a(base, derived_c) = no is_a(base, derived_d) = no is_a(base, if_a) = no is_a(base, if_b) = no is_a(derived_a, base) = yes is_a(derived_a, derived_a) = yes is_a(derived_a, derived_b) = no is_a(derived_a, derived_c) = no is_a(derived_a, derived_d) = no is_a(derived_a, if_a) = yes is_a(derived_a, if_b) = no is_a(derived_b, base) = yes is_a(derived_b, derived_a) = no is_a(derived_b, derived_b) = yes is_a(derived_b, derived_c) = no is_a(derived_b, derived_d) = no is_a(derived_b, if_a) = yes is_a(derived_b, if_b) = yes is_a(derived_c, base) = yes is_a(derived_c, derived_a) = yes is_a(derived_c, derived_b) = no is_a(derived_c, derived_c) = yes is_a(derived_c, derived_d) = no is_a(derived_c, if_a) = yes is_a(derived_c, if_b) = yes is_a(derived_d, base) = yes is_a(derived_d, derived_a) = yes is_a(derived_d, derived_b) = no is_a(derived_d, derived_c) = yes is_a(derived_d, derived_d) = yes is_a(derived_d, if_a) = yes is_a(derived_d, if_b) = yes ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001+ 001- is_a(base, base) = yes 002- is_a(base, derived_a) = no 003- is_a(base, derived_b) = no 004- is_a(base, derived_c) = no 005- is_a(base, derived_d) = no 006- is_a(base, if_a) = no 007- is_a(base, if_b) = no 008- 009- is_a(derived_a, base) = yes 010- is_a(derived_a, derived_a) = yes 011- is_a(derived_a, derived_b) = no 012- is_a(derived_a, derived_c) = no 013- is_a(derived_a, derived_d) = no 014- is_a(derived_a, if_a) = yes 015- is_a(derived_a, if_b) = no 016- 017- is_a(derived_b, base) = yes 018- is_a(derived_b, derived_a) = no 019- is_a(derived_b, derived_b) = yes 020- is_a(derived_b, derived_c) = no 021- is_a(derived_b, derived_d) = no 022- is_a(derived_b, if_a) = yes 023- is_a(derived_b, if_b) = yes 024- 025- is_a(derived_c, base) = yes 026- is_a(derived_c, derived_a) = yes 027- is_a(derived_c, derived_b) = no 028- is_a(derived_c, derived_c) = yes 029- is_a(derived_c, derived_d) = no 030- is_a(derived_c, if_a) = yes 031- is_a(derived_c, if_b) = yes 032- 033- is_a(derived_d, base) = yes 034- is_a(derived_d, derived_a) = yes 035- is_a(derived_d, derived_b) = no 036- is_a(derived_d, derived_c) = yes 037- is_a(derived_d, derived_d) = yes 038- is_a(derived_d, if_a) = yes 039- is_a(derived_d, if_b) = yes ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/tests/classes/interface_must_be_implemented.phpt ================================================================================ ---- EXPECTED OUTPUT Fatal error: Class derived_a contains 1 abstract methods and must therefore be declared abstract (if_a::f_a) in %s on line %d ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001+ 001- Fatal error: Class derived_a contains 1 abstract methods and must therefore be declared abstract (if_a::f_a) in %s on line %d ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/tests/classes/interface_optional_arg.phpt ================================================================================ ---- EXPECTED OUTPUT foo ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001+ 001- foo ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/tests/classes/interfaces_001.phpt ================================================================================ ---- EXPECTED OUTPUT foo ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001+ 001- foo ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/tests/classes/interfaces_002.phpt ================================================================================ ---- EXPECTED OUTPUT Fatal error: Class Exception_foo contains 1 abstract methods and must therefore be declared abstract (Throwable::getErrno) in %s on line %d ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001+ 001- Fatal error: Class Exception_foo contains 1 abstract methods and must therefore be declared abstract (Throwable::getErrno) in %s on line %d ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/tests/classes/iterators_006.phpt ================================================================================ ---- EXPECTED OUTPUT 0: foo 1: bar 2: baz ===2nd=== 0: foo 1: bar 2: baz ===3rd=== 0: foo 1: bar 2: baz ===DONE=== ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001+ 001- 0: foo 002- 1: bar 003- 2: baz 004- ===2nd=== 005- 0: foo 006- 1: bar 007- 2: baz 008- ===3rd=== 009- 0: foo 010- 1: bar 011- 2: baz 012- ===DONE=== ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/tests/classes/static_this.phpt ================================================================================ ---- EXPECTED OUTPUT Notice: Undefined variable: this in %sstatic_this.php on line %d NULL Notice: Undefined variable: this in %sstatic_this.php on line %d NULL object(stdClass)#%d (0) { } ===DONE=== ---- ACTUAL OUTPUT Notice: Undefined variable: this in /home/mk/php/php-5.0.3/tests/classes/static_this.php on line 13 NULL Notice: Undefined variable: this in /home/mk/php/php-5.0.3/tests/classes/static_this.php on line 13 NULL object(stdClass)#2 (0) { } ===DONE=== ---- FAILED ================================================================================ 001+ Notice: Undefined variable: this in /home/mk/php/php-5.0.3/tests/classes/static_this.php on line 13 001- Notice: Undefined variable: this in %sstatic_this.php on line %d 004+ Notice: Undefined variable: this in /home/mk/php/php-5.0.3/tests/classes/static_this.php on line 13 004- Notice: Undefined variable: this in %sstatic_this.php on line %d ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/tests/classes/type_hinting_001.phpt ================================================================================ ---- EXPECTED OUTPUT Fatal error: Argument 1 must implement interface Foo in %s on line %d ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001+ 001- Fatal error: Argument 1 must implement interface Foo in %s on line %d ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/tests/lang/030.phpt ================================================================================ ---- EXPECTED OUTPUT success ---- ACTUAL OUTPUT Strict Standards: Only variable references should be returned by reference in /home/mk/php/php-5.0.3/tests/lang/030.php on line 15 success ---- FAILED ================================================================================ 001+ Strict Standards: Only variable references should be returned by reference in /home/mk/php/php-5.0.3/tests/lang/030.php on line 15 ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/tests/lang/038.phpt ================================================================================ ---- EXPECTED OUTPUT string(15) "Error2Exception" string(5) "fopen" ===DONE=== ---- ACTUAL OUTPUT string(15) "Error2Exception" string(15) "Error2Exception" ===DONE=== ---- FAILED ================================================================================ 002+ string(15) "Error2Exception" 002- string(5) "fopen" ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/tests/lang/039.phpt ================================================================================ ---- EXPECTED OUTPUT Catchable ===DONE=== ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001+ 001- Catchable 002- ===DONE=== ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/tests/lang/bug29566.phpt ================================================================================ ---- EXPECTED OUTPUT Warning: Invalid argument supplied for foreach() in %sbug29566.php on line %d ===DONE=== ---- ACTUAL OUTPUT Warning: Invalid argument supplied for foreach() in /home/mk/php/php-5.0.3/tests/lang/bug29566.php on line 7 ---- FAILED ================================================================================ 002- ===DONE=== ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/tests/lang/bug29893.phpt ================================================================================ ---- EXPECTED OUTPUT Warning: Cannot use a scalar value as an array in %sbug29893.php on line %d ===DONE=== ---- ACTUAL OUTPUT Warning: Cannot use a scalar value as an array in /home/mk/php/php-5.0.3/tests/lang/bug29893.php on line 3 ---- FAILED ================================================================================ 002- ===DONE=== ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/tests/lang/bug29944.phpt ================================================================================ ---- EXPECTED OUTPUT 1 ===DONE=== ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001+ 001- 1 002- ===DONE=== ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/Zend/tests/bug22836.phpt ================================================================================ ---- EXPECTED OUTPUT string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d ---- ACTUAL OUTPUT string(3) "foo" 'foo' string(3) "foo" 'foo' string(3) "foo" 'foo' string(3) "foo" 'foo' string(3) "foo" 'foo' string(3) "foo" 'foo' string(3) "foo" 'foo' string(3) "foo" 'foo' ---- FAILED ================================================================================ 003+ string(3) "foo" 004+ 'foo' 005+ string(3) "foo" 006+ 'foo' 007+ string(3) "foo" 008+ 'foo' 009+ string(3) "foo" 010+ 'foo' 011+ string(3) "foo" 012+ 'foo' 013+ string(3) "foo" 014+ 'foo' 003- 004- Notice: Undefined variable: a in %s on line %d 005- 006- Strict Standards: Only variable references should be returned by reference in %s on line %d 009- 010- Notice: Undefined variable: a in %s on line %d 011- 012- Strict Standards: Only variable references should be returned by reference in %s on line %d 013- string(3) "foo" 014- 'foo' 015- 016- Notice: Undefined variable: a in %s on line %d 017- 018- Strict Standards: Only variable references should be returned by reference in %s on line %d 019- string(3) "foo" 020- 'foo' 021- 022- Notice: Undefined variable: a in %s on line %d 023- 024- Strict Standards: Only variable references should be returned by reference in %s on line %d 025- string(3) "foo" 026- 'foo' 027- 028- Notice: Undefined variable: a in %s on line %d 029- 030- Strict Standards: Only variable references should be returned by reference in %s on line %d 031- string(3) "foo" 032- 'foo' 033- 034- Notice: Undefined variable: a in %s on line %d 035- 036- Strict Standards: Only variable references should be returned by reference in %s on line %d 037- string(3) "foo" 038- 'foo' 039- 040- Notice: Undefined variable: a in %s on line %d 041- 042- Strict Standards: Only variable references should be returned by reference in %s on line %d 043- string(3) "foo" 044- 'foo' 045- 046- Notice: Undefined variable: a in %s on line %d 047- 048- Strict Standards: Only variable references should be returned by reference in %s on line %d 049- string(3) "foo" 050- 'foo' 051- 052- Notice: Undefined variable: a in %s on line %d 053- 054- Strict Standards: Only variable references should be returned by reference in %s on line %d ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/Zend/tests/bug26229.phpt ================================================================================ ---- EXPECTED OUTPUT Warning: Objects returned by array_iterator::getIterator() must be traversable or implement interface Iterator in %sbug26229.php on line %d ===DONE=== ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001+ 001- Warning: Objects returned by array_iterator::getIterator() must be traversable or implement interface Iterator in %sbug26229.php on line %d 002- ===DONE=== ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/Zend/tests/bug28444.phpt ================================================================================ ---- EXPECTED OUTPUT object(Object)#%d (1) { ["x"]=> int(2) } int(2) int(3) Overloaded::__set(y,3) int(3) Overloaded::__get(y) int(3) Overloaded::__set(z,Object id #3) object(Object)#%d (1) { ["x"]=> int(4) } Overloaded::__get(z) int(4) Overloaded::__get(z) int(5) Overloaded::__get(z) int(6) ===DONE=== ---- ACTUAL OUTPUT object(Object)#2 (1) { ["x"]=> int(2) } int(2) int(3) Overloaded::__set(y,3) int(3) Overloaded::__get(y) int(3) Overloaded::__set(z,Object id #3) object(Object)#3 (1) { ["x"]=> int(4) } Overloaded::__get(z) int(4) Overloaded::__get(z) int(5) Fatal error: Cannot access undefined property for object with overloaded property access in /home/mk/php/php-5.0.3/Zend/tests/bug28444.php on line 45 ---- FAILED ================================================================================ 020+ 021+ Fatal error: Cannot access undefined property for object with overloaded property access in /home/mk/php/php-5.0.3/Zend/tests/bug28444.php on line 45 020- Overloaded::__get(z) 021- int(6) 022- ===DONE=== ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/Zend/tests/bug29368.phpt ================================================================================ ---- EXPECTED OUTPUT Foo::__construct Caught exception! ===DONE=== ---- ACTUAL OUTPUT Foo::__construct Foo::__destruct Caught exception! ===DONE=== ---- FAILED ================================================================================ 002+ Foo::__destruct ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/Zend/tests/bug29828.phpt ================================================================================ ---- EXPECTED OUTPUT int(1) bool(false) bool(false) Hello ===DONE=== ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001+ 001- int(1) 002- bool(false) 003- bool(false) 004- Hello 005- ===DONE=== ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/Zend/tests/bug29883.phpt ================================================================================ ---- EXPECTED OUTPUT bool(false) bool(true) u ---- ACTUAL OUTPUT bool(true) bool(false) u ---- FAILED ================================================================================ 001+ bool(true) 002- bool(true) ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/ext/iconv/tests/iconv_stream_filter.phpt ================================================================================ ---- EXPECTED OUTPUT string(20) "1b244224332473244b24" string(10) "41244f1b28" string(2) "42" string(20) "a4b3a4f3a4cba4c1a4cf" string(10) "69636f6e76" string(2) "0a" Warning: fread(): iconv stream filter ("ISO-2022-JP"=>"EUC-JP"): invalid multibyte sequence in %s on line %d string(0) "" string(0) "" string(0) "" ---- ACTUAL OUTPUT string(20) "1b244224332473244b24" string(10) "41244f1b28" string(2) "42" string(20) "a4b3a4f3a4cba4c1a4cf" string(10) "69636f6e76" string(2) "0a" string(20) "1b244f24332466245824" string(10) "4e24421b28" string(2) "4f" ---- FAILED ================================================================================ 007+ string(20) "1b244f24332466245824" 008+ string(10) "4e24421b28" 009+ string(2) "4f" 007- 008- Warning: fread(): iconv stream filter ("ISO-2022-JP"=>"EUC-JP"): invalid multibyte sequence in %s on line %d 009- string(0) "" 010- string(0) "" 011- string(0) "" ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/ext/standard/tests/array/bug29992.phpt ================================================================================ ---- EXPECTED OUTPUT Array ( [0] => 1 [1] => 2 [2] => 3 ) int(1) int(2) int(3) int(1) int(2) int(3) int(1) int(2) int(3) int(1) int(2) int(3) Array ( [0] => 1 [1] => 2 [2] => 3 ) ===DONE=== ---- ACTUAL OUTPUT Array ( [0] => 1 [1] => 2 [2] => 3 ) int(1) int(2) int(3) int(1) int(2) int(3) int(1) int(2) int(3) int(1) int(2) int(2) Array ( [0] => 1 [1] => 2 [2] => 2 ) ===DONE=== ---- FAILED ================================================================================ 018+ int(2) 018- int(3) 023+ [2] => 2 023- [2] => 3 ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/ext/standard/tests/file/fopencookie.phpt ================================================================================ ---- EXPECTED OUTPUT If you can read this, it worked ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001+ 001- If you can read this, it worked ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/ext/standard/tests/serialize/bug30234.phpt ================================================================================ ---- EXPECTED OUTPUT bool(false) bool(false) __autoload(autoload_interface) __autoload(Autoload_Implements) object(autoload_implements)#%d (0) { } bool(true) bool(true) bool(true) ===DONE=== ---- ACTUAL OUTPUT bool(false) bool(false) __autoload(autoload_interface) ---- FAILED ================================================================================ 004- __autoload(Autoload_Implements) 005- object(autoload_implements)#%d (0) { 006- } 007- bool(true) 008- bool(true) 009- bool(true) 010- ===DONE=== ================================================================================ ================================================================================ /home/mk/php/php-5.0.3/ext/standard/tests/time/bug20382.phpt ================================================================================ ---- EXPECTED OUTPUT tStamp=Wednesday 2004-10-27 17:17:17 CEST result=Monday 2004-11-01 00:00:00 CET wanted=Monday 2004-11-01 00:00:00 CET ---- ACTUAL OUTPUT tStamp=Wednesday 2004-10-27 17:17:17 CEST result=Sunday 2004-10-31 23:00:00 CET wanted=Monday 2004-11-01 00:00:00 CET ---- FAILED ================================================================================ 002+ result=Sunday 2004-10-31 23:00:00 CET 002- result=Monday 2004-11-01 00:00:00 CET ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: Linux - Linux cp4.sea-host.com 2.6.8.1 #1 Tue Sep 28 04:13:26 GMT 2004 i686 Automake: automake (GNU automake) 1.6.3 Written by Tom Tromey <tromey@redhat.com>. Copyright 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Autoconf: autoconf (GNU Autoconf) 2.57 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. Bundled Libtool: ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54) System Libtool: ltmain.sh (GNU libtool) 1.4.3 (1.922.2.111 2002/10/23 02:54:36) Compiler: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux Thread model: posix gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) 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 (0x40020000) libmysqlclient.so.12 => /usr/lib/libmysqlclient.so.12 (0x4004d000) libz.so.1 => /usr/lib/libz.so.1 (0x40084000) libresolv.so.2 => /lib/libresolv.so.2 (0x40092000) libm.so.6 => /lib/tls/libm.so.6 (0x400a4000) libdl.so.2 => /lib/libdl.so.2 (0x400c6000) libnsl.so.1 => /lib/libnsl.so.1 (0x400cb000) libssl.so.4 => /lib/libssl.so.4 (0x400e0000) libcrypto.so.4 => /lib/libcrypto.so.4 (0x40115000) libgssapi_krb5.so.2 => /usr/kerberos/lib/libgssapi_krb5.so.2 (0x40206000) libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0x40219000) libcom_err.so.3 => /usr/kerberos/lib/libcom_err.so.3 (0x40277000) libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3 (0x4027a000) libc.so.6 => /lib/tls/libc.so.6 (0x42000000) libnss_files.so.2 => /lib/libnss_files.so.2 (0x4028a000) libnss_dns.so.2 => /lib/libnss_dns.so.2 (0x40296000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) User's E-mail: ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 5.0.3 System => Linux cp4.sea-host.com 2.6.8.1 #1 Tue Sep 28 04:13:26 GMT 2004 i686 Build Date => Jan 4 2005 17:48:36 Configure Command => './configure' '--with-mysql' '--disable-libxml' '--with-openssl' '--enable-sockets' '--with-zlib' '--enable-bcmath' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/local/Zend/etc/php.ini PHP API => 20031224 PHP Extension => 20041030 Zend Extension => 220040412 Debug Build => no Thread Safety => disabled IPv6 Support => enabled Registered PHP Streams => php, file, compress.zlib, https, ftps Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, sslv2, tls This program makes use of the Zend Scripting Language Engine: Zend Engine v2.0.3, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.3, Copyright (c) 2003-2004, by Zend Technologies with Zend Optimizer v2.5.3, Copyright (c) 1998-2004, by Zend Technologies _______________________________________________________________________ Configuration PHP Core Directive => Local Value => Master Value allow_call_time_pass_reference => On => On allow_url_fopen => On => On always_populate_raw_post_data => Off => Off arg_separator.input => & => & arg_separator.output => & => & asp_tags => Off => Off auto_append_file => no value => no value auto_globals_jit => On => On auto_prepend_file => no value => no value browscap => no value => no value default_charset => no value => no value default_mimetype => text/html => text/html define_syslog_variables => Off => Off disable_classes => no value => no value disable_functions => no value => no value display_errors => On => On display_startup_errors => Off => Off doc_root => no value => no value docref_ext => no value => no value docref_root => no value => no value enable_dl => On => On error_append_string => no value => no value error_log => error_log => error_log error_prepend_string => no value => no value error_reporting => 2039 => 2039 expose_php => On => On extension_dir => ./ => ./ file_uploads => On => On highlight.bg => #FFFFFF => #FFFFFF highlight.comment => #FF8000 => #FF8000 highlight.default => #0000BB => #0000BB highlight.html => #000000 => #000000 highlight.keyword => #007700 => #007700 highlight.string => #DD0000 => #DD0000 html_errors => Off => On ignore_repeated_errors => Off => Off ignore_repeated_source => Off => Off ignore_user_abort => Off => Off implicit_flush => On => Off include_path => .:/usr/lib/php:/usr/local/lib/php => .:/usr/lib/php:/usr/local/lib/php log_errors => On => On 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 => no value output_handler => no value => no value post_max_size => 55M => 55M precision => 14 => 14 register_argc_argv => On => On register_globals => On => On register_long_arrays => On => On 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 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 => /tmp => /tmp user_dir => no value => no value variables_order => EGPCS => EGPCS xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => Off => Off zend.ze1_compatibility_mode => Off => Off bcmath BCMath support => enabled ctype ctype functions => enabled iconv iconv support => enabled iconv implementation => glibc iconv library version => 2.3.2 Directive => Local Value => Master Value iconv.input_encoding => ISO-8859-1 => ISO-8859-1 iconv.internal_encoding => ISO-8859-1 => ISO-8859-1 iconv.output_encoding => ISO-8859-1 => ISO-8859-1 mysql MySQL Support => enabled Active Persistent Links => 0 Active Links => 0 Client API version => 4.0.22 MYSQL_MODULE_TYPE => external MYSQL_SOCKET => /var/lib/mysql/mysql.sock MYSQL_INCLUDE => -I/usr/include/mysql MYSQL_LIBS => -L/usr/lib -lmysqlclient Directive => Local Value => Master Value mysql.allow_persistent => On => On mysql.connect_timeout => 60 => 60 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 openssl OpenSSL support => enabled OpenSSL Version => OpenSSL 0.9.7a Feb 19 2003 pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 4.5 01-December-2003 posix Revision => $Revision: 1.60 $ session Session Support => enabled Registered save handlers => files user sqlite Registered serializer handlers => php php_binary 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 => 1 => 1 sockets Sockets Support => enabled SPL SPL support => enabled Interfaces => RecursiveIterator, SeekableIterator Classes => ArrayObject, ArrayIterator, CachingIterator, CachingRecursiveIterator, DirectoryIterator, FilterIterator, LimitIterator, ParentIterator, RecursiveDirectoryIterator, RecursiveIteratorIterator SQLite SQLite support => enabled PECL Module version => 2.0-dev $Id: sqlite.c,v 1.146.2.3 2004/09/26 01:41:40 wez Exp $ SQLite Library => 2.8.14 SQLite Encoding => iso8859 Directive => Local Value => Master Value sqlite.assoc_case => 0 => 0 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 Zend Optimizer Optimization Pass 1 => enabled Optimization Pass 2 => enabled Optimization Pass 3 => enabled Optimization Pass 4 => enabled Optimization Pass 9 => disabled Zend Loader => enabled License Path => 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 TEST_PHP_SRCDIR => /home/mk/php/php-5.0.3 SHELL => /bin/sh MAKEFLAGS => SSH_CLIENT => deleted SSH_TTY => deleted SCRIPT_FILENAME => SSH_AUTH_SOCK => deleted MAKELEVEL => 1 MFLAGS => PATH => /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin _ => /home/mk/php/php-5.0.3/sapi/cli/php PWD => /home/mk/php/php-5.0.3 TEST_PHP_EXECUTABLE => /home/mk/php/php-5.0.3/sapi/cli/php REDIRECT_STATUS => PATH_TRANSLATED => SHLVL => 4 CONTENT_LENGTH => QUERY_STRING => CONTENT_TYPE => CC => gcc REQUEST_METHOD => PHP Variables Variable => Value PHP_SELF => _SERVER["TEST_PHP_SRCDIR"] => /home/mk/php/php-5.0.3 _SERVER["SHELL"] => /bin/sh _SERVER["MAKEFLAGS"] => _SERVER["SSH_CLIENT"] => deleted _SERVER["SSH_TTY"] => deleted _SERVER["SCRIPT_FILENAME"] => _SERVER["SSH_AUTH_SOCK"] => deleted _SERVER["MAKELEVEL"] => 1 _SERVER["MFLAGS"] => _SERVER["PATH"] => /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin _SERVER["_"] => /home/mk/php/php-5.0.3/sapi/cli/php _SERVER["PWD"] => /home/mk/php/php-5.0.3 _SERVER["TEST_PHP_EXECUTABLE"] => /home/mk/php/php-5.0.3/sapi/cli/php _SERVER["REDIRECT_STATUS"] => _SERVER["PATH_TRANSLATED"] => _SERVER["SHLVL"] => 4 _SERVER["CONTENT_LENGTH"] => _SERVER["QUERY_STRING"] => _SERVER["CONTENT_TYPE"] => _SERVER["CC"] => gcc _SERVER["REQUEST_METHOD"] => _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["TEST_PHP_SRCDIR"] => /home/mk/php/php-5.0.3 _ENV["SHELL"] => /bin/sh _ENV["MAKEFLAGS"] => _ENV["SSH_CLIENT"] => deleted _ENV["SSH_TTY"] => deleted _ENV["SCRIPT_FILENAME"] => _ENV["SSH_AUTH_SOCK"] => deleted _ENV["MAKELEVEL"] => 1 _ENV["MFLAGS"] => _ENV["PATH"] => /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin _ENV["_"] => /home/mk/php/php-5.0.3/sapi/cli/php _ENV["PWD"] => /home/mk/php/php-5.0.3 _ENV["TEST_PHP_EXECUTABLE"] => /home/mk/php/php-5.0.3/sapi/cli/php _ENV["REDIRECT_STATUS"] => _ENV["PATH_TRANSLATED"] => _ENV["SHLVL"] => 4 _ENV["CONTENT_LENGTH"] => _ENV["QUERY_STRING"] => _ENV["CONTENT_TYPE"] => _ENV["CC"] => gcc _ENV["REQUEST_METHOD"] => 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 (#22721) next »