Test results for 5.0.4 [failed]
| From: | noreply@php.net | Date: | Tue, 14 Jun 2005 17:47:59 +0000 |
| Subject: | Test results for 5.0.4 [failed] | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-24975@lists.php.net to get a copy of this message | ||
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #31672 (one-line comment with </script>) [tests/basic/bug31672.phpt]
ZE2 Do not call destructors if constructor fails [tests/classes/ctor_failure.phpt]
Test for buffering in core functions with implicit flush off [tests/func/008.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 #29944 (function defined in switch crashes PHP) [tests/lang/bug29944.phpt]
Bug #22836 (returning references to NULL) [Zend/tests/bug22836.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 #29883 (isset gives invalid values on strings) [Zend/tests/bug29883.phpt]
Bug #31098 (isset() / empty() incorrectly returns true in dereference of a wrong type)
[Zend/tests/bug31098.phpt]
iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt]
bug #31454 (session_set_save_handler crashes PHP when supplied non-existent object ref)
[ext/session/tests/bug31454.phpt]
Bug #29992 (foreach by reference corrupts the array) [ext/standard/tests/array/bug29992.phpt]
Bug #31213 (Sideeffects caused by bug #29493) [ext/standard/tests/array/bug31213.phpt]
Bug #22414 (passthru() does not read data correctly) [ext/standard/tests/file/bug22414.phpt]
fopencookie detected and working (or cast mechanism works)
[ext/standard/tests/file/fopencookie.phpt]
date_sunrise() and date_sunset() functions [ext/standard/tests/general_functions/sunfuncts.phpt]
Bug #31402 (unserialize() generates references when it should not)
[ext/standard/tests/serialize/bug31402.phpt]
Bug #20382 (strtotime ("Monday", $date) produces wrong result on DST changeover)
[ext/standard/tests/time/bug20382.phpt]
=====================================================================
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 67
Exts tested : 16
---------------------------------------------------------------------
Number of tests : 1333 634
Tests skipped : 699 ( 52.4%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 21 ( 1.6%) ( 3.3%)
Tests passed : 613 ( 46.0%) ( 96.7%)
---------------------------------------------------------------------
Time taken : 72 seconds
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #31672 (one-line comment with </script>) [tests/basic/bug31672.phpt]
ZE2 Do not call destructors if constructor fails [tests/classes/ctor_failure.phpt]
Test for buffering in core functions with implicit flush off [tests/func/008.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 #29944 (function defined in switch crashes PHP) [tests/lang/bug29944.phpt]
Bug #22836 (returning references to NULL) [Zend/tests/bug22836.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 #29883 (isset gives invalid values on strings) [Zend/tests/bug29883.phpt]
Bug #31098 (isset() / empty() incorrectly returns true in dereference of a wrong type)
[Zend/tests/bug31098.phpt]
iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt]
bug #31454 (session_set_save_handler crashes PHP when supplied non-existent object ref)
[ext/session/tests/bug31454.phpt]
Bug #29992 (foreach by reference corrupts the array) [ext/standard/tests/array/bug29992.phpt]
Bug #31213 (Sideeffects caused by bug #29493) [ext/standard/tests/array/bug31213.phpt]
Bug #22414 (passthru() does not read data correctly) [ext/standard/tests/file/bug22414.phpt]
fopencookie detected and working (or cast mechanism works)
[ext/standard/tests/file/fopencookie.phpt]
date_sunrise() and date_sunset() functions [ext/standard/tests/general_functions/sunfuncts.phpt]
Bug #31402 (unserialize() generates references when it should not)
[ext/standard/tests/serialize/bug31402.phpt]
Bug #20382 (strtotime ("Monday", $date) produces wrong result on DST changeover)
[ext/standard/tests/time/bug20382.phpt]
=====================================================================
================================================================================
/home/coast1/php-5.0.4/tests/basic/bug31672.phpt
================================================================================
---- EXPECTED OUTPUT
Foobar
Foobar
---- ACTUAL OUTPUT
Foobar
Foo
---- FAILED
================================================================================
002+ Foo
002- Foobar
================================================================================
================================================================================
/home/coast1/php-5.0.4/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/coast1/php-5.0.4/tests/func/008.phpt
================================================================================
---- EXPECTED OUTPUT
'foo1'
'foo2'
---- ACTUAL OUTPUT
---- FAILED
================================================================================
001- 'foo1'
003- 'foo2'
================================================================================
================================================================================
/home/coast1/php-5.0.4/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/coast1/php-5.0.4/tests/lang/039.phpt
================================================================================
---- EXPECTED OUTPUT
Catchable
===DONE===
---- ACTUAL OUTPUT
Exception
===DONE===
---- FAILED
================================================================================
001+ Exception
001- Catchable
================================================================================
================================================================================
/home/coast1/php-5.0.4/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/coast1/php-5.0.4/tests/lang/bug29566.php
on line 7
---- FAILED
================================================================================
002- ===DONE===
================================================================================
================================================================================
/home/coast1/php-5.0.4/tests/lang/bug29944.phpt
================================================================================
---- EXPECTED OUTPUT
1
===DONE===
---- ACTUAL OUTPUT
---- FAILED
================================================================================
001+
001- 1
002- ===DONE===
================================================================================
================================================================================
/home/coast1/php-5.0.4/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/coast1/php-5.0.4/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/coast1/php-5.0.4/Zend/tests/bug28444.php on line 45
---- FAILED
================================================================================
020+
021+ Fatal error: Cannot access undefined property for object with overloaded property access in
/home/coast1/php-5.0.4/Zend/tests/bug28444.php on line 45
020- Overloaded::__get(z)
021- int(6)
022- ===DONE===
================================================================================
================================================================================
/home/coast1/php-5.0.4/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/coast1/php-5.0.4/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/coast1/php-5.0.4/Zend/tests/bug31098.phpt
================================================================================
---- EXPECTED OUTPUT
bool(false)
bool(false)
bool(false)
bool(false)
bool(true)
bool(true)
ok
ok
ok
ok
ok
ok
ok
ok
Notice: Trying to get property of non-object in %sbug31098.php on line %d
ok
ok
ok
ok
---- ACTUAL OUTPUT
bool(false)
bool(false)
bool(false)
bool(false)
bool(false)
bool(false)
ok
bug
bug
ok
bug
bug
ok
ok
Notice: Trying to get property of non-object in /home/coast1/php-5.0.4/Zend/tests/bug31098.php on
line 24
ok
ok
ok
ok
---- FAILED
================================================================================
005+ bool(false)
006+ bool(false)
005- bool(true)
006- bool(true)
008+ bug
009+ bug
011+ bug
012+ bug
011- ok
012- ok
013- ok
014- ok
================================================================================
================================================================================
/home/coast1/php-5.0.4/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/coast1/php-5.0.4/ext/session/tests/bug31454.phpt
================================================================================
---- EXPECTED OUTPUT
Warning: session_set_save_handler(): Argument 1 is not a valid callback in %s/bug31454.php on line
%d
Done
---- ACTUAL OUTPUT
Notice: Undefined variable: arf in /home/coast1/php-5.0.4/ext/session/tests/bug31454.php on line 4
Warning: session_set_save_handler(): Argument 1 is not a valid callback in
/home/coast1/php-5.0.4/ext/session/tests/bug31454.php on line 9
Done
---- FAILED
================================================================================
001+ Notice: Undefined variable: arf in /home/coast1/php-5.0.4/ext/session/tests/bug31454.php on
line 4
002+
================================================================================
================================================================================
/home/coast1/php-5.0.4/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/coast1/php-5.0.4/ext/standard/tests/array/bug31213.phpt
================================================================================
---- EXPECTED OUTPUT
int(1)
int(1)
int(1)
int(2)
int(2)
int(2)
array(2) {
["_a"]=>
&int(2)
["_b"]=>
&int(2)
}
int(1)
int(1)
int(1)
int(2)
int(2)
int(2)
array(2) {
["_a"]=>
&int(2)
["_b"]=>
&int(2)
}
---- ACTUAL OUTPUT
int(1)
int(1)
int(1)
int(2)
int(2)
int(2)
array(2) {
["_a"]=>
&int(2)
["_b"]=>
&int(2)
}
int(1)
int(1)
int(2)
int(2)
int(2)
int(2)
array(2) {
["_a"]=>
&int(2)
["_b"]=>
&int(2)
}
---- FAILED
================================================================================
015+ int(2)
015- int(1)
================================================================================
================================================================================
/home/coast1/php-5.0.4/ext/standard/tests/file/bug22414.phpt
================================================================================
---- EXPECTED OUTPUT
HELLO
Works
---- ACTUAL OUTPUT
HELLO
Does not work
---- FAILED
================================================================================
002+ Does not work
002- Works
================================================================================
================================================================================
/home/coast1/php-5.0.4/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/coast1/php-5.0.4/ext/standard/tests/general_functions/sunfuncts.phpt
================================================================================
---- EXPECTED OUTPUT
1041293199 06:39 6.652455761896
1041293806 16:46 16.76937486746
1043971592 06:32 6.54537029266
1043972233 17:13 17.21752470874
1046390766 06:06 6.115652675685
1046391456 17:36 17.6108549623
1049069128 05:28 5.472742029069
1049069878 17:58 17.97255258437
1051661094 04:54 4.901229982859
1051661898 18:18 18.31368876948
1054339474 04:34 4.57442928945
1054340319 18:39 18.65640094324
1056931476 04:36 4.616120450519
1056932328 18:48 18.80887165777
1059609894 04:54 4.906882509836
1059610715 18:35 18.59928600203
1062288314 05:14 5.236889557074
1062289083 18:03 18.06054178788
1064880332 05:32 5.542366581139
1064881044 17:24 17.41150561492
1067558754 05:54 5.916208842058
1067559410 16:50 16.83369857063
1070150780 06:20 6.34622155207
1070151395 16:35 16.58358905554
---- ACTUAL OUTPUT
1041316748 06:39 6.652455761896
1041353169 16:46 16.76937486746
1043994763 06:32 6.54537029266
1044033183 17:13 17.21752470874
1046412416 06:06 6.115652675685
1046453799 17:36 17.6108549623
1049088501 05:28 5.472742029069
1049133501 17:58 17.97255258437
1051678444 04:54 4.901229982859
1051726729 18:18 18.31368876948
1054355667 04:34 4.57442928945
1054406363 18:39 18.65640094324
1056947818 04:36 4.616120450519
1056998911 18:48 18.80887165777
1059627264 04:54 4.906882509836
1059676557 18:35 18.59928600203
1062306852 05:14 5.236889557074
1062353017 18:03 18.06054178788
1064899952 05:32 5.542366581139
1064942681 17:24 17.41150561492
1067579698 05:54 5.916208842058
1067619001 16:50 16.83369857063
1070173246 06:20 6.34622155207
1070210100 16:35 16.58358905554
---- FAILED
================================================================================
001+ 1041316748 06:39 6.652455761896
002+ 1041353169 16:46 16.76937486746
003+ 1043994763 06:32 6.54537029266
004+ 1044033183 17:13 17.21752470874
005+ 1046412416 06:06 6.115652675685
006+ 1046453799 17:36 17.6108549623
007+ 1049088501 05:28 5.472742029069
008+ 1049133501 17:58 17.97255258437
009+ 1051678444 04:54 4.901229982859
010+ 1051726729 18:18 18.31368876948
011+ 1054355667 04:34 4.57442928945
012+ 1054406363 18:39 18.65640094324
013+ 1056947818 04:36 4.616120450519
014+ 1056998911 18:48 18.80887165777
015+ 1059627264 04:54 4.906882509836
016+ 1059676557 18:35 18.59928600203
017+ 1062306852 05:14 5.236889557074
018+ 1062353017 18:03 18.06054178788
019+ 1064899952 05:32 5.542366581139
020+ 1064942681 17:24 17.41150561492
021+ 1067579698 05:54 5.916208842058
022+ 1067619001 16:50 16.83369857063
023+ 1070173246 06:20 6.34622155207
024+ 1070210100 16:35 16.58358905554
001- 1041293199 06:39 6.652455761896
002- 1041293806 16:46 16.76937486746
003- 1043971592 06:32 6.54537029266
004- 1043972233 17:13 17.21752470874
005- 1046390766 06:06 6.115652675685
006- 1046391456 17:36 17.6108549623
007- 1049069128 05:28 5.472742029069
008- 1049069878 17:58 17.97255258437
009- 1051661094 04:54 4.901229982859
010- 1051661898 18:18 18.31368876948
011- 1054339474 04:34 4.57442928945
012- 1054340319 18:39 18.65640094324
013- 1056931476 04:36 4.616120450519
014- 1056932328 18:48 18.80887165777
015- 1059609894 04:54 4.906882509836
016- 1059610715 18:35 18.59928600203
017- 1062288314 05:14 5.236889557074
018- 1062289083 18:03 18.06054178788
019- 1064880332 05:32 5.542366581139
020- 1064881044 17:24 17.41150561492
021- 1067558754 05:54 5.916208842058
022- 1067559410 16:50 16.83369857063
023- 1070150780 06:20 6.34622155207
024- 1070151395 16:35 16.58358905554
================================================================================
================================================================================
/home/coast1/php-5.0.4/ext/standard/tests/serialize/bug31402.phpt
================================================================================
---- EXPECTED OUTPUT
object(y)(2) {
["A"]=>
array(2) {
[1]=>
object(x)(1) {
["i"]=>
int(1)
}
[2]=>
object(x)(1) {
["i"]=>
int(2)
}
}
["B"]=>
object(x)(1) {
["i"]=>
int(1)
}
}
object(y)(2) {
["A"]=>
array(2) {
[1]=>
&object(x)(1) {
["i"]=>
int(1)
}
[2]=>
object(x)(1) {
["i"]=>
int(2)
}
}
["B"]=>
&object(x)(1) {
["i"]=>
int(1)
}
}
---- ACTUAL OUTPUT
Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in
/home/coast1/php-5.0.4/ext/standard/tests/serialize/bug31402.php on line 4
Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in
/home/coast1/php-5.0.4/ext/standard/tests/serialize/bug31402.php on line 12
Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in
/home/coast1/php-5.0.4/ext/standard/tests/serialize/bug31402.php on line 13
object(Y)#1 (2) {
["A"]=>
array(2) {
[1]=>
object(X)#2 (1) {
["i"]=>
int(1)
}
[2]=>
object(X)#3 (1) {
["i"]=>
int(2)
}
}
["B"]=>
object(X)#2 (1) {
["i"]=>
int(1)
}
}
object(Y)#4 (2) {
["A"]=>
array(2) {
[1]=>
object(X)#5 (1) {
["i"]=>
int(1)
}
[2]=>
object(X)#6 (1) {
["i"]=>
int(2)
}
}
["B"]=>
object(X)#5 (1) {
["i"]=>
int(1)
}
}
---- FAILED
================================================================================
001+ Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in
/home/coast1/php-5.0.4/ext/standard/tests/serialize/bug31402.php on line 4
002+
003+ Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in
/home/coast1/php-5.0.4/ext/standard/tests/serialize/bug31402.php on line 12
004+
005+ Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in
/home/coast1/php-5.0.4/ext/standard/tests/serialize/bug31402.php on line 13
006+ object(Y)#1 (2) {
001- object(y)(2) {
005- object(x)(1) {
010+ object(X)#2 (1) {
010- object(x)(1) {
015+ object(X)#3 (1) {
016- object(x)(1) {
021+ object(X)#2 (1) {
021- object(y)(2) {
025- &object(x)(1) {
026+ object(Y)#4 (2) {
030+ object(X)#5 (1) {
030- object(x)(1) {
035+ object(X)#6 (1) {
036- &object(x)(1) {
041+ object(X)#5 (1) {
================================================================================
================================================================================
/home/coast1/php-5.0.4/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 coast9 2.6.7 #4 Thu Jul 1 18:46:37 CDT 2004 i686
Automake:
automake (GNU automake) 1.7.3
Written by Tom Tromey <tromey@redhat.com>.
Copyright 2003 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.111 2002/10/23 02:54:36)
System 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-slackware-linux/3.2.2/specs
Configured with: ../gcc-3.2.2/configure --prefix=/usr --enable-shared --enable-threads=posix
--enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i386-slackware-linux
--host=i386-slackware-linux
Thread model: posix
gcc version 3.2.2
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 (0x4001a000)
libmcrypt.so.4 => /usr/local/lib/libmcrypt.so.4 (0x40048000)
libltdl.so.3 => /usr/lib/libltdl.so.3 (0x4007a000)
libdl.so.2 => /lib/libdl.so.2 (0x40080000)
libpng.so.3 => /usr/lib/libpng.so.3 (0x40083000)
libz.so.1 => /usr/lib/libz.so.1 (0x400ad000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x400ba000)
libssl.so.0.9.7 => /usr/local/ssl/lib/libssl.so.0.9.7 (0x400d8000)
libcrypto.so.0.9.7 => /usr/local/ssl/lib/libcrypto.so.0.9.7 (0x40107000)
libresolv.so.2 => /lib/libresolv.so.2 (0x401fe000)
libm.so.6 => /lib/libm.so.6 (0x4020f000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40232000)
libcurl.so.3 => /usr/local/lib/libcurl.so.3 (0x40247000)
libc.so.6 => /lib/libc.so.6 (0x40276000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
User's E-mail:
================================================================================
PHPINFO
================================================================================
phpinfo()
PHP Version => 5.0.4
System => Linux coast9 2.6.7 #4 Thu Jul 1 18:46:37 CDT 2004 i686
Build Date => Jun 14 2005 12:41:46
Configure Command => './configure'
'--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql=/usr/local/mysql'
'--enable-cli' '--with-zlib=/usr' '--with-openssl=/usr/local/ssl'
'--with-mcrypt=/usr/local' '--with-gd' '--with-zlib-dir=/usr'
'--with-jpeg-dir=/usr' '--disable-libxml' '--with-curl'
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, http, ftp, 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.4-dev, Copyright (c) 1998-2004 Zend Technologies
with Zend Extension Manager v1.0.6, Copyright (c) 2003-2004, by Zend Technologies
with Zend Optimizer v2.5.7, Copyright (c) 1998-2004, by Zend Technologies
_______________________________________________________________________
Configuration
PHP Core
Directive => Local Value => Master Value
allow_call_time_pass_reference => Off => Off
allow_url_fopen => On => On
always_populate_raw_post_data => Off => Off
arg_separator.input => & => &
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 => Off => Off
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 => 2047 => 2047
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/local/lib/php => .:/usr/local/lib/php
log_errors => On => On
log_errors_max_len => 1024 => 1024
magic_quotes_gpc => Off => Off
magic_quotes_runtime => Off => Off
magic_quotes_sybase => Off => Off
mail.force_extra_parameters => no value => no value
max_execution_time => 0 => 30
max_input_time => 60 => 60
open_basedir => no value => no value
output_buffering => 0 => 4096
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 14 => 14
register_argc_argv => On => Off
register_globals => Off => Off
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 => me@localhost.com => me@localhost.com
sendmail_path => -t -i => -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 => GPCS => GPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
zend.ze1_compatibility_mode => Off => Off
ctype
ctype functions => enabled
curl
CURL support => enabled
CURL Information => libcurl/7.14.0 OpenSSL/0.9.7g zlib/1.1.4
gd
GD Support => enabled
GD Version => bundled (2.0.28 compatible)
GIF Read Support => enabled
GIF Create Support => enabled
JPG Support => enabled
PNG Support => enabled
WBMP Support => enabled
XBM Support => enabled
iconv
iconv support => enabled
iconv implementation => glibc
iconv library version => 2.3.1
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
mcrypt
mcrypt support => enabled
Version => 2.5.7
Api No => 20021217
Supported ciphers => cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192
saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
Supported modes => cbc cfb ctr ecb ncfb nofb ofb stream
Directive => Local Value => Master Value
mcrypt.algorithms_dir => no value => no value
mcrypt.modes_dir => no value => no value
mysql
MySQL Support => enabled
Active Persistent Links => 0
Active Links => 0
Client API version => 4.0.16
MYSQL_MODULE_TYPE => external
MYSQL_SOCKET => /tmp/mysql.sock
MYSQL_INCLUDE => -I/usr/local/mysql/include
MYSQL_LIBS => -L/usr/local/mysql/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.7g 11 Apr 2005
pcre
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 4.5 01-December-2003
posix
Revision => $Revision: 1.60.2.2 $
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 => Off => Off
session.bug_compat_warn => On => On
session.cache_expire => 180 => 180
session.cache_limiter => nocache => nocache
session.cookie_domain => no value => no value
session.cookie_lifetime => 0 => 0
session.cookie_path => / => /
session.cookie_secure => Off => Off
session.entropy_file => no value => no value
session.entropy_length => 0 => 0
session.gc_divisor => 1000 => 1000
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 => 0 => 0
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
Directive => Local Value => Master Value
assert.active => 1 => 1
assert.bail => 0 => 0
assert.callback => no value => no value
assert.quiet_eval => 0 => 0
assert.warning => 1 => 1
auto_detect_line_endings => 0 => 0
date.default_latitude => 31.7667 => 31.7667
date.default_longitude => 35.2333 => 35.2333
date.sunrise_zenith => 90.83 => 90.83
date.sunset_zenith => 90.83 => 90.83
default_socket_timeout => 60 => 60
safe_mode_allowed_env_vars => PHP_ => PHP_
safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH
url_rewriter.tags => a=href,area=href,frame=src,input=src,form=fakeentry =>
a=href,area=href,frame=src,input=src,form=fakeentry
user_agent => no value => no value
tokenizer
Tokenizer Support => enabled
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
MANPATH => /usr/local/man:/usr/man:/usr/X11R6/man
HOSTNAME => coast9.ctc.com
TEST_PHP_SRCDIR => /home/coast1/php-5.0.4
SHELL => /bin/sh
TERM => xterm
MAKEFLAGS =>
SSH_CLIENT => deleted
SSH_TTY => deleted
USER => coast1
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=40;31;01:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.bz2=01;31:*.rpm=01;31:*.deb=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.mpg=01;37:*.avi=01;37:*.mov=01;37:
SCRIPT_FILENAME =>
TDC_releases_waittime => 45
SSH_AUTH_SOCK => deleted
TM_onsales_instances => 50
MAKELEVEL => 1
MFLAGS =>
T1LIB_CONFIG => /usr/share/t1lib/t1lib.config
MINICOM => -c on
PATH => /usr/local/bin:/bin:/usr/bin
_ => /home/coast1/php-5.0.4/sapi/cli/php
TM_releases_qty => 2
PWD => /home/coast1/php-5.0.4
INPUTRC => /etc/inputrc
LANG => C
TEST_PHP_EXECUTABLE => /home/coast1/php-5.0.4/sapi/cli/php
REDIRECT_STATUS =>
PATH_TRANSLATED =>
HOME => /home/coast1
SHLVL => 5
CONTENT_LENGTH =>
TM_onsales_IP_offset => 1
LS_OPTIONS => --color=auto -F -b -T 0
LOGNAME => coast1
LESS => -M
QUERY_STRING =>
SSH_CONNECTION => 66.55.37.98 3715 206.127.2.36 22
LESSOPEN => |lesspipe.sh %s
CONTENT_TYPE =>
TM_onsales_IP_prefix => 66.55.40
CC => gcc
REQUEST_METHOD =>
PHP Variables
Variable => Value
_SERVER["MANPATH"] => /usr/local/man:/usr/man:/usr/X11R6/man
_SERVER["HOSTNAME"] => coast9.ctc.com
_SERVER["TEST_PHP_SRCDIR"] => /home/coast1/php-5.0.4
_SERVER["SHELL"] => /bin/sh
_SERVER["TERM"] => xterm
_SERVER["MAKEFLAGS"] =>
_SERVER["SSH_CLIENT"] => deleted
_SERVER["SSH_TTY"] => deleted
_SERVER["USER"] => coast1
_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=40;31;01:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.bz2=01;31:*.rpm=01;31:*.deb=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.mpg=01;37:*.avi=01;37:*.mov=01;37:
_SERVER["SCRIPT_FILENAME"] =>
_SERVER["TDC_releases_waittime"] => 45
_SERVER["SSH_AUTH_SOCK"] => deleted
_SERVER["TM_onsales_instances"] => 50
_SERVER["MAKELEVEL"] => 1
_SERVER["MFLAGS"] =>
_SERVER["T1LIB_CONFIG"] => /usr/share/t1lib/t1lib.config
_SERVER["MINICOM"] => -c on
_SERVER["PATH"] => /usr/local/bin:/bin:/usr/bin
_SERVER["_"] => /home/coast1/php-5.0.4/sapi/cli/php
_SERVER["TM_releases_qty"] => 2
_SERVER["PWD"] => /home/coast1/php-5.0.4
_SERVER["INPUTRC"] => /etc/inputrc
_SERVER["LANG"] => C
_SERVER["TEST_PHP_EXECUTABLE"] => /home/coast1/php-5.0.4/sapi/cli/php
_SERVER["REDIRECT_STATUS"] =>
_SERVER["PATH_TRANSLATED"] =>
_SERVER["HOME"] => /home/coast1
_SERVER["SHLVL"] => 5
_SERVER["CONTENT_LENGTH"] =>
_SERVER["TM_onsales_IP_offset"] => 1
_SERVER["LS_OPTIONS"] => --color=auto -F -b -T 0
_SERVER["LOGNAME"] => coast1
_SERVER["LESS"] => -M
_SERVER["QUERY_STRING"] =>
_SERVER["SSH_CONNECTION"] => 66.55.37.98 3715 206.127.2.36 22
_SERVER["LESSOPEN"] => |lesspipe.sh %s
_SERVER["CONTENT_TYPE"] =>
_SERVER["TM_onsales_IP_prefix"] => 66.55.40
_SERVER["CC"] => gcc
_SERVER["REQUEST_METHOD"] =>
_SERVER["PHP_SELF"] =>
_SERVER["SCRIPT_NAME"] =>
_SERVER["DOCUMENT_ROOT"] =>
_SERVER["argv"] => Array
(
)
_SERVER["argc"] => 0
_ENV["MANPATH"] => /usr/local/man:/usr/man:/usr/X11R6/man
_ENV["HOSTNAME"] => coast9.ctc.com
_ENV["TEST_PHP_SRCDIR"] => /home/coast1/php-5.0.4
_ENV["SHELL"] => /bin/sh
_ENV["TERM"] => xterm
_ENV["MAKEFLAGS"] =>
_ENV["SSH_CLIENT"] => deleted
_ENV["SSH_TTY"] => deleted
_ENV["USER"] => coast1
_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=40;31;01:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.bz2=01;31:*.rpm=01;31:*.deb=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.mpg=01;37:*.avi=01;37:*.mov=01;37:
_ENV["SCRIPT_FILENAME"] =>
_ENV["TDC_releases_waittime"] => 45
_ENV["SSH_AUTH_SOCK"] => deleted
_ENV["TM_onsales_instances"] => 50
_ENV["MAKELEVEL"] => 1
_ENV["MFLAGS"] =>
_ENV["T1LIB_CONFIG"] => /usr/share/t1lib/t1lib.config
_ENV["MINICOM"] => -c on
_ENV["PATH"] => /usr/local/bin:/bin:/usr/bin
_ENV["_"] => /home/coast1/php-5.0.4/sapi/cli/php
_ENV["TM_releases_qty"] => 2
_ENV["PWD"] => /home/coast1/php-5.0.4
_ENV["INPUTRC"] => /etc/inputrc
_ENV["LANG"] => C
_ENV["TEST_PHP_EXECUTABLE"] => /home/coast1/php-5.0.4/sapi/cli/php
_ENV["REDIRECT_STATUS"] =>
_ENV["PATH_TRANSLATED"] =>
_ENV["HOME"] => /home/coast1
_ENV["SHLVL"] => 5
_ENV["CONTENT_LENGTH"] =>
_ENV["TM_onsales_IP_offset"] => 1
_ENV["LS_OPTIONS"] => --color=auto -F -b -T 0
_ENV["LOGNAME"] => coast1
_ENV["LESS"] => -M
_ENV["QUERY_STRING"] =>
_ENV["SSH_CONNECTION"] => 66.55.37.98 3715 206.127.2.36 22
_ENV["LESSOPEN"] => |lesspipe.sh %s
_ENV["CONTENT_TYPE"] =>
_ENV["TM_onsales_IP_prefix"] => 66.55.40
_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.