Test results [failed]
| From: | noreply@php.net | Date: | Tue, 11 Mar 2003 03:15:22 +0000 |
| Subject: | Test results [failed] | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-9893@lists.php.net to get a copy of this message | ||
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
ZE2 __clone() [tests/classes/__clone_001.phpt]
Methods via variable name, bug #20120 [tests/classes/bug20120.phpt]
Bug #21094 (set_error_handler not accepting methods) [tests/lang/bug21094.phpt]
Bug #21800 (Segfault under interactive mode) [tests/lang/bug21800.phpt]
Bug #21849 (self::constant doesn't work as method's default parameter)
[tests/lang/bug21849.phpt]
Bug #22367 (weird zval allocation problem) [tests/lang/bug22367.phpt]
session object deserialization [ext/session/tests/003.phpt]
session_set_save_handler test [ext/session/tests/004.phpt]
custom save handler, multiple session_start()s, complex data structure test.
[ext/session/tests/005.phpt]
correct instantiation of references between variables in sessions [ext/session/tests/006.phpt]
serializing references test case using globals [ext/session/tests/019.phpt]
aggregating everything [ext/standard/tests/aggregation/aggregate.phpt]
aggregating all methods [ext/standard/tests/aggregation/aggregate_methods.phpt]
aggregating methods specified in the list
[ext/standard/tests/aggregation/aggregate_methods_by_list.phpt]
aggregating methods matching regular expression
[ext/standard/tests/aggregation/aggregate_methods_by_regexp.phpt]
User-space filters [ext/standard/tests/file/userfilters.phpt]
date_sunrise() and date_sunset() functions [ext/standard/tests/general_functions/sunfuncts.phpt]
serialize()/unserialize()/var_dump() [ext/standard/tests/serialize/001.phpt]
Bug #14293 (serialize() and __sleep()) [ext/standard/tests/serialize/bug14293.phpt]
=====================================================================
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 78
Exts tested : 8
---------------------------------------------------------------------
Number of tests : 611
Tests skipped : 303 (49.6%)
Tests failed : 19 ( 3.1%)
Tests passed : 289 (47.3%)
---------------------------------------------------------------------
Time taken : 29 seconds
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
ZE2 __clone() [tests/classes/__clone_001.phpt]
Methods via variable name, bug #20120 [tests/classes/bug20120.phpt]
Bug #21094 (set_error_handler not accepting methods) [tests/lang/bug21094.phpt]
Bug #21800 (Segfault under interactive mode) [tests/lang/bug21800.phpt]
Bug #21849 (self::constant doesn't work as method's default parameter)
[tests/lang/bug21849.phpt]
Bug #22367 (weird zval allocation problem) [tests/lang/bug22367.phpt]
session object deserialization [ext/session/tests/003.phpt]
session_set_save_handler test [ext/session/tests/004.phpt]
custom save handler, multiple session_start()s, complex data structure test.
[ext/session/tests/005.phpt]
correct instantiation of references between variables in sessions [ext/session/tests/006.phpt]
serializing references test case using globals [ext/session/tests/019.phpt]
aggregating everything [ext/standard/tests/aggregation/aggregate.phpt]
aggregating all methods [ext/standard/tests/aggregation/aggregate_methods.phpt]
aggregating methods specified in the list
[ext/standard/tests/aggregation/aggregate_methods_by_list.phpt]
aggregating methods matching regular expression
[ext/standard/tests/aggregation/aggregate_methods_by_regexp.phpt]
User-space filters [ext/standard/tests/file/userfilters.phpt]
date_sunrise() and date_sunset() functions [ext/standard/tests/general_functions/sunfuncts.phpt]
serialize()/unserialize()/var_dump() [ext/standard/tests/serialize/001.phpt]
Bug #14293 (serialize() and __sleep()) [ext/standard/tests/serialize/bug14293.phpt]
=====================================================================
================================================================================
/home/src/php5-200303110230/tests/classes/__clone_001.phpt
================================================================================
---- EXPECTED OUTPUT
0
1
Hello
New York
---- ACTUAL OUTPUT
0
---- FAILED
================================================================================
002- 1
003- Hello
004- New York
================================================================================
================================================================================
/home/src/php5-200303110230/tests/classes/bug20120.phpt
================================================================================
---- EXPECTED OUTPUT
test
test2
test2
---- ACTUAL OUTPUT
Parse error: parse error in /home/src/php5-200303110230/tests/classes/bug20120.php on line 11
---- FAILED
================================================================================
001- test
001+ Parse error: parse error in /home/src/php5-200303110230/tests/classes/bug20120.php on line 11
002- test2
003- test2
================================================================================
================================================================================
/home/src/php5-200303110230/tests/lang/bug21094.phpt
================================================================================
---- EXPECTED OUTPUT
[1024] errstr: test, errfile: %s, errline: %d
---- ACTUAL OUTPUT
Notice: Array to string conversion in /home/src/php5-200303110230/tests/lang/bug21094.php on line 8
Notice: test in /home/src/php5-200303110230/tests/lang/bug21094.php on line 10
---- FAILED
================================================================================
001- [1024] errstr: test, errfile: %s, errline: %d
001+ Notice: Array to string conversion in /home/src/php5-200303110230/tests/lang/bug21094.php on
line 8
002+
003+ Notice: test in /home/src/php5-200303110230/tests/lang/bug21094.php on line 10
================================================================================
================================================================================
/home/src/php5-200303110230/tests/lang/bug21800.phpt
================================================================================
---- EXPECTED OUTPUT
Interactive mode enabled
:test:
---- ACTUAL OUTPUT
Notice: Undefined index: TEST_PHP_EXECUTABLE in /home/src/php5-200303110230/tests/lang/bug21800.php
on line 2
sh: line 1: -a: command not found
---- FAILED
================================================================================
001- Interactive mode enabled
001+ Notice: Undefined index: TEST_PHP_EXECUTABLE in
/home/src/php5-200303110230/tests/lang/bug21800.php on line 2
002-
002+ sh: line 1: -a: command not found
003- :test:
================================================================================
================================================================================
/home/src/php5-200303110230/tests/lang/bug21849.phpt
================================================================================
---- EXPECTED OUTPUT
fubar
---- ACTUAL OUTPUT
---- FAILED
================================================================================
001- fubar
001+
================================================================================
================================================================================
/home/src/php5-200303110230/tests/lang/bug22367.phpt
================================================================================
---- EXPECTED OUTPUT
int(5)
bool(false)
bool(false)
array(5) {
[0]=>
int(0)
[1]=>
int(1)
[2]=>
int(2)
[3]=>
int(3)
[4]=>
int(4)
}
array(5) {
[0]=>
int(0)
[1]=>
int(1)
[2]=>
int(2)
[3]=>
int(3)
[4]=>
int(4)
}
int(2)
bool(true)
bool(true)
array(5) {
[0]=>
int(0)
[1]=>
int(1)
[2]=>
int(2)
[3]=>
int(3)
[4]=>
int(4)
}
array(5) {
[0]=>
int(0)
[1]=>
int(1)
[2]=>
int(2)
[3]=>
int(3)
[4]=>
int(4)
}
---- ACTUAL OUTPUT
int(5)
bool(false)
bool(false)
array(5) {
[0]=>
int(4)
[1]=>
int(4)
[2]=>
int(4)
[3]=>
int(4)
[4]=>
int(4)
}
array(5) {
[0]=>
int(0)
[1]=>
int(1)
[2]=>
int(2)
[3]=>
int(3)
[4]=>
int(4)
}
int(2)
bool(true)
bool(true)
array(5) {
[0]=>
int(0)
[1]=>
int(1)
[2]=>
int(2)
[3]=>
int(3)
[4]=>
int(4)
}
array(5) {
[0]=>
int(0)
[1]=>
int(1)
[2]=>
&int(2)
[3]=>
int(3)
[4]=>
int(4)
}
---- FAILED
================================================================================
006- int(0)
006+ int(4)
008- int(1)
008+ int(4)
010- int(2)
010+ int(4)
012- int(3)
012+ int(4)
049- int(2)
049+ &int(2)
================================================================================
================================================================================
/home/src/php5-200303110230/ext/session/tests/003.phpt
================================================================================
---- EXPECTED OUTPUT
object(foo)(2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(2)
}
array(1) {
[3]=>
&object(foo)(2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(2)
}
}
---- ACTUAL OUTPUT
object(foo)#1 (2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(2)
}
array(1) {
[3]=>
object(foo)#2 (2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(2)
}
}
---- FAILED
================================================================================
001- object(foo)(2) {
001+ object(foo)#1 (2) {
009- &object(foo)(2) {
009+ object(foo)#2 (2) {
================================================================================
================================================================================
/home/src/php5-200303110230/ext/session/tests/004.phpt
================================================================================
---- EXPECTED OUTPUT
OPEN: PHPSESSID
READ: abtest
object(foo)(2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(2)
}
array(1) {
[3]=>
&object(foo)(2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(2)
}
}
WRITE: abtest,
baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}}
OPEN: PHPSESSID
READ: abtest
object(foo)(2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(2)
}
array(1) {
[3]=>
object(foo)(2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(2)
}
}
DESTROY: abtest
---- ACTUAL OUTPUT
OPEN: PHPSESSID
READ: abtest
object(foo)#2 (2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(2)
}
array(1) {
[3]=>
object(foo)#3 (2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(2)
}
}
WRITE: abtest,
baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}}
OPEN: PHPSESSID
READ: abtest
object(foo)#4 (2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(2)
}
array(1) {
[3]=>
object(foo)#2 (2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(2)
}
}
DESTROY: abtest
---- FAILED
================================================================================
003- object(foo)(2) {
003+ object(foo)#2 (2) {
011- &object(foo)(2) {
011+ object(foo)#3 (2) {
021- object(foo)(2) {
021+ object(foo)#4 (2) {
029- object(foo)(2) {
029+ object(foo)#2 (2) {
================================================================================
================================================================================
/home/src/php5-200303110230/ext/session/tests/005.phpt
================================================================================
---- EXPECTED OUTPUT
OPEN: PHPSESSID
READ: abtest
object(foo)(2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(2)
}
array(1) {
[3]=>
&object(foo)(2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(2)
}
}
WRITE: abtest,
baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}}
CLOSE
OPEN: PHPSESSID
READ: abtest
object(foo)(2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(3)
}
array(1) {
[3]=>
&object(foo)(2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(3)
}
}
int(123)
WRITE: abtest,
baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:3;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:3;}}c|i:123;
CLOSE
OPEN: PHPSESSID
READ: abtest
object(foo)(2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(3)
}
array(1) {
[3]=>
object(foo)(2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(3)
}
}
int(123)
DESTROY: abtest
CLOSE
---- ACTUAL OUTPUT
OPEN: PHPSESSID
READ: abtest
object(foo)#2 (2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(2)
}
array(1) {
[3]=>
object(foo)#3 (2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(2)
}
}
WRITE: abtest,
baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}}
CLOSE
OPEN: PHPSESSID
READ: abtest
object(foo)#4 (2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(3)
}
array(1) {
[3]=>
object(foo)#2 (2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(3)
}
}
int(123)
WRITE: abtest,
baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:3;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:3;}}c|i:123;
CLOSE
OPEN: PHPSESSID
READ: abtest
object(foo)#3 (2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(3)
}
array(1) {
[3]=>
object(foo)#4 (2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(3)
}
}
int(123)
DESTROY: abtest
CLOSE
---- FAILED
================================================================================
003- object(foo)(2) {
003+ object(foo)#2 (2) {
011- &object(foo)(2) {
011+ object(foo)#3 (2) {
022- object(foo)(2) {
022+ object(foo)#4 (2) {
030- &object(foo)(2) {
030+ object(foo)#2 (2) {
042- object(foo)(2) {
042+ object(foo)#3 (2) {
050- object(foo)(2) {
050+ object(foo)#4 (2) {
================================================================================
================================================================================
/home/src/php5-200303110230/ext/session/tests/006.phpt
================================================================================
---- EXPECTED OUTPUT
original values:
object(a)(1) {
["test"]=>
string(5) "hallo"
}
object(b)(1) {
["a"]=>
&object(a)(1) {
["test"]=>
string(5) "hallo"
}
}
values after session:
object(a)(1) {
["test"]=>
string(5) "hallo"
}
object(b)(1) {
["a"]=>
&object(a)(1) {
["test"]=>
string(5) "hallo"
}
}
---- ACTUAL OUTPUT
original values:
object(a)#1 (1) {
["test"]=>
string(5) "hallo"
}
object(b)#2 (1) {
["a"]=>
&object(a)#1 (1) {
["test"]=>
string(5) "hallo"
}
}
values after session:
object(a)#3 (1) {
["test"]=>
string(5) "hallo"
}
object(b)#1 (1) {
["a"]=>
&object(a)#3 (1) {
["test"]=>
string(5) "hallo"
}
}
---- FAILED
================================================================================
002- object(a)(1) {
002+ object(a)#1 (1) {
006- object(b)(1) {
006+ object(b)#2 (1) {
008- &object(a)(1) {
008+ &object(a)#1 (1) {
014- object(a)(1) {
014+ object(a)#3 (1) {
018- object(b)(1) {
018+ object(b)#1 (1) {
020- &object(a)(1) {
020+ &object(a)#3 (1) {
================================================================================
================================================================================
/home/src/php5-200303110230/ext/session/tests/019.phpt
================================================================================
---- EXPECTED OUTPUT
array(2) {
["o1"]=>
&object(tfoo)(1) {
["c"]=>
int(42)
}
["o2"]=>
&object(tfoo)(1) {
["c"]=>
int(42)
}
}
array(2) {
["o1"]=>
&object(tfoo)(1) {
["c"]=>
int(44)
}
["o2"]=>
&object(tfoo)(1) {
["c"]=>
int(44)
}
}
---- ACTUAL OUTPUT
array(2) {
["o1"]=>
&object(tfoo)#1 (1) {
["c"]=>
int(42)
}
["o2"]=>
&object(tfoo)#1 (1) {
["c"]=>
int(42)
}
}
array(2) {
["o1"]=>
&object(tfoo)#1 (1) {
["c"]=>
int(44)
}
["o2"]=>
&object(tfoo)#1 (1) {
["c"]=>
int(44)
}
}
---- FAILED
================================================================================
003- &object(tfoo)(1) {
003+ &object(tfoo)#1 (1) {
008- &object(tfoo)(1) {
008+ &object(tfoo)#1 (1) {
015- &object(tfoo)(1) {
015+ &object(tfoo)#1 (1) {
020- &object(tfoo)(1) {
020+ &object(tfoo)#1 (1) {
================================================================================
================================================================================
/home/src/php5-200303110230/ext/standard/tests/aggregation/aggregate.phpt
================================================================================
---- EXPECTED OUTPUT
I'm alive!
I'm helping!
I'm aggregating!
****
---- ACTUAL OUTPUT
I'm alive!
Fatal error: Call to undefined method simple::do_this() in
/home/src/php5-200303110230/ext/standard/tests/aggregation/aggregate.php on line 7
---- FAILED
================================================================================
002- I'm helping!
002+
003- I'm aggregating!
003+ Fatal error: Call to undefined method simple::do_this() in
/home/src/php5-200303110230/ext/standard/tests/aggregation/aggregate.php on line 7
004- ****
================================================================================
================================================================================
/home/src/php5-200303110230/ext/standard/tests/aggregation/aggregate_methods.phpt
================================================================================
---- EXPECTED OUTPUT
I'm alive!
mixing
100
simple,mix_it
simple_prop
mixing
---- ACTUAL OUTPUT
I'm alive!
Fatal error: Call to undefined method simple::mix_it() in
/home/src/php5-200303110230/ext/standard/tests/aggregation/aggregate_methods.php on line 6
---- FAILED
================================================================================
002- mixing
002+
003- 100
003+ Fatal error: Call to undefined method simple::mix_it() in
/home/src/php5-200303110230/ext/standard/tests/aggregation/aggregate_methods.php on line 6
004- simple,mix_it
005- simple_prop
006- mixing
================================================================================
================================================================================
/home/src/php5-200303110230/ext/standard/tests/aggregation/aggregate_methods_by_list.phpt
================================================================================
---- EXPECTED OUTPUT
I'm alive!
simple,just_another_method
I'm alive!
simple,do_this,do_that
yep, that's me
---- ACTUAL OUTPUT
I'm alive!
simple
I'm alive!
simple
Fatal error: Call to undefined method simple::just_another_method() in
/home/src/php5-200303110230/ext/standard/tests/aggregation/aggregate_methods_by_list.php on line 10
---- FAILED
================================================================================
002- simple,just_another_method
002+ simple
004- simple,do_this,do_that
004+ simple
005- yep, that's me
005+
006+ Fatal error: Call to undefined method simple::just_another_method() in
/home/src/php5-200303110230/ext/standard/tests/aggregation/aggregate_methods_by_list.php on line 10
================================================================================
================================================================================
/home/src/php5-200303110230/ext/standard/tests/aggregation/aggregate_methods_by_regexp.phpt
================================================================================
---- EXPECTED OUTPUT
I'm alive!
simple,do_this,do_that
I'm alive!
simple,just_another_method
---- ACTUAL OUTPUT
I'm alive!
simple
I'm alive!
simple
---- FAILED
================================================================================
002- simple,do_this,do_that
002+ simple
004- simple,just_another_method
004+ simple
================================================================================
================================================================================
/home/src/php5-200303110230/ext/standard/tests/file/userfilters.phpt
================================================================================
---- EXPECTED OUTPUT
bool(true)
oncreate:
string(16) "string.uppercase"
NULL
bool(true)
read:
read:
string(11) "HELLO THERE"
flush:
onclose:
---- ACTUAL OUTPUT
bool(true)
oncreate:
string(16) "string.uppercase"
NULL
oncreate:
string(16) "string.uppercase"
NULL
bool(true)
bool(false)
onclose:
onclose:
---- FAILED
================================================================================
005- bool(true)
005+ oncreate:
006- read:
006+ string(16) "string.uppercase"
007- read:
007+ NULL
008- string(11) "HELLO THERE"
008+ bool(true)
009- flush:
009+ bool(false)
011+ onclose:
================================================================================
================================================================================
/home/src/php5-200303110230/ext/standard/tests/general_functions/sunfuncts.phpt
================================================================================
---- EXPECTED OUTPUT
1041293199 06:39 6.6524557618962
1041293806 16:46 16.769374867459
1043971592 06:32 6.5453702926602
1043972233 17:13 17.217524708736
1046390766 06:06 6.1156526756851
1046391456 17:36 17.6108549623
1049069128 05:28 5.4727420290691
1049069878 17:58 17.972552584375
1051661094 04:54 4.9012299828593
1051661898 18:18 18.313688769483
1054339474 04:34 4.5744292894498
1054340319 18:39 18.656400943241
1056931476 04:36 4.6161204505189
1056932328 18:48 18.808871657766
1059609894 04:54 4.9068825098365
1059610715 18:35 18.599286002028
1062288314 05:14 5.2368895570738
1062289083 18:03 18.060541787879
1064880332 05:32 5.542366581139
1064881044 17:24 17.411505614917
1067558754 05:54 5.9162088420581
1067559410 16:50 16.833698570628
1070150780 06:20 6.3462215520697
1070151395 16:35 16.583589055537
---- ACTUAL OUTPUT
<?
putenv ("TZ=Asia/Jerusalem");
for($a=1;$a<=12;$a++){
echo date_sunrise(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_TIMESTAMP,31.76670,35.23330,90.83,2)."
";
echo date_sunrise(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_STRING,31.76670,35.23330,90.83,2)."
";
echo
date_sunrise(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_DOUBLE,31.76670,35.23330,90.83,2)."\n";
echo date_sunset(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_TIMESTAMP,31.76670,35.23330,90.83,2)."
";
echo date_sunset(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_STRING,31.76670,35.23330,90.83,2)."
";
echo
date_sunset(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_DOUBLE,31.76670,35.23330,90.83,2)."\n";
}
?>
---- FAILED
================================================================================
001- 1041293199 06:39 6.6524557618962
001+ <?
002- 1041293806 16:46 16.769374867459
002+
003- 1043971592 06:32 6.5453702926602
003+ putenv ("TZ=Asia/Jerusalem");
004- 1043972233 17:13 17.217524708736
004+
005- 1046390766 06:06 6.1156526756851
005+ for($a=1;$a<=12;$a++){
006- 1046391456 17:36 17.6108549623
006+ echo
date_sunrise(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_TIMESTAMP,31.76670,35.23330,90.83,2)."
";
007- 1049069128 05:28 5.4727420290691
007+ echo
date_sunrise(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_STRING,31.76670,35.23330,90.83,2)." ";
008- 1049069878 17:58 17.972552584375
008+ echo
date_sunrise(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_DOUBLE,31.76670,35.23330,90.83,2)."\n";
009- 1051661094 04:54 4.9012299828593
009+
010- 1051661898 18:18 18.313688769483
010+ echo
date_sunset(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_TIMESTAMP,31.76670,35.23330,90.83,2)." ";
011- 1054339474 04:34 4.5744292894498
011+ echo date_sunset(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_STRING,31.76670,35.23330,90.83,2)."
";
012- 1054340319 18:39 18.656400943241
012+ echo
date_sunset(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_DOUBLE,31.76670,35.23330,90.83,2)."\n";
013- 1056931476 04:36 4.6161204505189
013+ }
014- 1056932328 18:48 18.808871657766
014+ ?>
015- 1059609894 04:54 4.9068825098365
016- 1059610715 18:35 18.599286002028
017- 1062288314 05:14 5.2368895570738
018- 1062289083 18:03 18.060541787879
019- 1064880332 05:32 5.542366581139
020- 1064881044 17:24 17.411505614917
021- 1067558754 05:54 5.9162088420581
022- 1067559410 16:50 16.833698570628
023- 1070150780 06:20 6.3462215520697
024- 1070151395 16:35 16.583589055537
================================================================================
================================================================================
/home/src/php5-200303110230/ext/standard/tests/serialize/001.phpt
================================================================================
---- EXPECTED OUTPUT
N;
b:1;
b:0;
i:1;
i:0;
i:-1;
i:2147483647;
i:-2147483647;
d:1.123456789;
d:1;
d:0;
d:-1;
d:-1.123456789;
s:5:"hallo";
a:6:{i:0;i:1;i:1;d:1.1;i:2;s:5:"hallo";i:3;N;i:4;b:1;i:5;a:0:{}}
O:1:"t":1:{s:1:"a";s:5:"hallo";}
object(t)(1) {
["a"]=>
string(5) "hallo"
}
__sleep called
O:1:"s":2:{s:1:"a";s:5:"hallo";s:1:"c";s:5:"world";}
__wakeup called
object(s)(2) {
["a"]=>
string(5) "hallo"
["c"]=>
string(5) "world"
}
array(2) {
["a"]=>
&string(4) "test"
["b"]=>
&string(4) "test"
}
a:2:{s:1:"a";s:4:"test";s:1:"b";R:2;}
array(2) {
["a"]=>
&string(4) "test"
["b"]=>
&string(4) "test"
}
---- ACTUAL OUTPUT
N;
b:1;
b:0;
i:1;
i:0;
i:-1;
i:2147483647;
i:-2147483647;
d:1.123456789;
d:1;
d:0;
d:-1;
d:-1.123456789;
s:5:"hallo";
a:6:{i:0;i:1;i:1;d:1.1;i:2;s:5:"hallo";i:3;N;i:4;b:1;i:5;a:0:{}}
O:1:"t":1:{s:1:"a";s:5:"hallo";}
object(t)#2 (1) {
["a"]=>
string(5) "hallo"
}
__sleep called
O:1:"s":2:{s:1:"a";s:5:"hallo";s:1:"c";s:5:"world";}
__wakeup called
object(s)#2 (3) {
["a"]=>
string(5) "hallo"
["b"]=>
NULL
["c"]=>
string(5) "world"
}
array(2) {
["a"]=>
&string(4) "test"
["b"]=>
&string(4) "test"
}
a:2:{s:1:"a";s:4:"test";s:1:"b";R:2;}
array(2) {
["a"]=>
&string(4) "test"
["b"]=>
&string(4) "test"
}
---- FAILED
================================================================================
017- object(t)(1) {
017+ object(t)#2 (1) {
024- object(s)(2) {
024+ object(s)#2 (3) {
027- ["c"]=>
027+ ["b"]=>
028- string(5) "world"
028+ NULL
029- }
029+ ["c"]=>
030- array(2) {
030+ string(5) "world"
031- ["a"]=>
031+ }
032- &string(4) "test"
032+ array(2) {
033- ["b"]=>
033+ ["a"]=>
035- }
035+ ["b"]=>
036- a:2:{s:1:"a";s:4:"test";s:1:"b";R:2;}
036+ &string(4) "test"
037- array(2) {
037+ }
038- ["a"]=>
038+ a:2:{s:1:"a";s:4:"test";s:1:"b";R:2;}
039- &string(4) "test"
039+ array(2) {
040- ["b"]=>
040+ ["a"]=>
042- }
042+ ["b"]=>
043+ &string(4) "test"
044+ }
================================================================================
================================================================================
/home/src/php5-200303110230/ext/standard/tests/serialize/bug14293.phpt
================================================================================
---- EXPECTED OUTPUT
__sleep called
O:1:"t":2:{s:1:"a";s:5:"hello";s:1:"b";N;}
object(t)(2) {
["a"]=>
string(5) "hello"
["b"]=>
NULL
}
---- ACTUAL OUTPUT
__sleep called
O:1:"t":2:{s:1:"a";s:5:"hello";s:1:"b";N;}
object(t)#2 (2) {
["a"]=>
string(5) "hello"
["b"]=>
NULL
}
---- FAILED
================================================================================
003- object(t)(2) {
003+ object(t)#2 (2) {
================================================================================
================================================================================
BUILD ENVIRONMENT
================================================================================
OS:
Linux
Automake:
automake (GNU automake) 1.4-p5
Copyright (C) 1999, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Tom Tromey <tromey@cygnus.com>
Autoconf:
Autoconf version 2.13
Libtool:
ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54)
Compiler:
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/specs
Configured with: /var/tmp/portage/gcc-3.2.1/work/gcc-3.2.1/configure --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --host=i686-pc-linux-gnu
--build=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib
--enable-languages=c,c++,ada,f77,objc,java --enable-threads=posix --enable-long-long
--disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit
--enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/include/g++-v32
--with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext
Thread model: posix
gcc version 3.2.1
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.
User's E-mail: boertien at telus dot net
================================================================================
PHPINFO
================================================================================
phpinfo()
PHP Version => 5.0.0-dev
System => Linux gentoo-1.home.net 2.4.19-gentoo-r10 #2 Fri Feb 7 21:41:48 MST 2003 i686
Build Date => Mar 10 2003 20:16:51
Configure Command => './configure'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/lib/php.ini
PHP API => 20020918
PHP Extension => 20020429
Zend Extension => 90021012
Debug Build => no
Thread Safety => disabled
Registered PHP Streams => php, http, ftp
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.0.0-dev, Copyright (c) 1998-2003 Zend Technologies<br />
_______________________________________________________________________
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_prepend_file => no value => no value
browscap => no value => no value
default_charset => no value => no value
default_mimetype => text/html => text/html
define_syslog_variables => Off => Off
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => On => On
display_startup_errors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => http://www.php.net/ => http://www.php.net/
enable_dl => On => On
error_append_string => no value => no value
error_log => no value => no value
error_prepend_string => no value => no value
error_reporting => 2047 => 2047
expose_php => On => On
extension_dir => ./ => ./
file_uploads => On => On
gpc_order => GPC => GPC
highlight.bg => #FFFFFF => #FFFFFF
highlight.comment => #FF8000 => #FF8000
highlight.default => #0000BB => #0000BB
highlight.html => #000000 => #000000
highlight.keyword => #007700 => #007700
highlight.string => #DD0000 => #DD0000
html_errors => Off => On
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => Off
include_path => .:/usr/local/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 => 4096 => 4096
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 14 => 14
register_argc_argv => On => Off
register_globals => On => On
register_long_arrays => Off => Off
report_memleaks => On => On
report_zend_debug => On => On
safe_mode => Off => Off
safe_mode_exec_dir => no value => no value
safe_mode_gid => Off => Off
safe_mode_include_dir => no value => no value
sendmail_from => me@localhost.com => me@localhost.com
sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
short_open_tag => Off => Off
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
zend2.implicit_clone => no value => no value
ctype
ctype functions => enabled
mysql
MySQL Support => enabled
Active Persistent Links => 0
Active Links => 0
Client API version => 3.23.49
MYSQL_MODULE_TYPE => builtin
MYSQL_SOCKET => /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE =>
MYSQL_LIBS =>
Directive => Local Value => Master Value
mysql.allow_persistent => On => On
mysql.connect_timeout => -1 => -1
mysql.default_host => no value => no value
mysql.default_password => no value => no value
mysql.default_port => no value => no value
mysql.default_socket => /var/run/mysqld/mysqld.sock => /var/run/mysqld/mysqld.sock
mysql.default_user => no value => no value
mysql.max_links => Unlimited => Unlimited
mysql.max_persistent => Unlimited => Unlimited
mysql.trace_mode => Off => Off
pcre
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 3.92 11-Sep-2002
posix
Revision => $Revision: 1.55 $
session
Session Support => enabled
Registered save handlers => files user
Directive => Local Value => Master Value
session.auto_start => Off => Off
session.bug_compat_42 => 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_dividend => 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 => Off => Off
standard
Regex Library => Bundled library enabled
Dynamic Library Support => enabled
Path to sendmail => /usr/sbin/sendmail -t -i
Directive => Local Value => Master Value
assert.active => 1 => 1
assert.bail => 0 => 0
assert.callback => no value => no value
assert.quiet_eval => 0 => 0
assert.warning => 1 => 1
auto_detect_line_endings => 0 => 0
date.default_latitude => 31.7667 => 31.7667
date.default_longitude => 35.2333 => 35.2333
date.sunrise_zenith => 90.83 => 90.83
date.sunset_zenith => 90.83 => 90.83
default_socket_timeout => 60 => 60
safe_mode_allowed_env_vars => PHP_ => PHP_
safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH
url_rewriter.tags => a=href,area=href,frame=src,input=src,form=fakeentry =>
a=href,area=href,frame=src,input=src,form=fakeentry
user_agent => no value => no value
tokenizer
Tokenizer Support => enabled
xml
XML Support => active
XML Namespace Support => active
EXPAT Version => 1.95.5
Additional Modules
Module Name
Environment
Variable => Value
MANPATH =>
/usr/share/man:/usr/local/share/man:/usr/X11R6/man:/opt/blackdown-jdk-1.4.1_beta/man:/opt/vmware/man
INFODIR => /usr/share/info:/usr/X11R6/info
HOSTNAME => gentoo-1.home.net
TEST_PHP_SRCDIR => /home/src/php5-200303110230
SHELL => /bin/sh
TERM => xterm
MAKEFLAGS =>
SSH_CLIENT => deleted
QTDIR => /usr/qt/3
SSH_TTY => deleted
USER => root
SCRIPT_FILENAME =>
SSH_AUTH_SOCK => deleted
KDEDIR => /usr/kde/3.1
MAKELEVEL => 1
CONFIG_PROTECT_MASK => /etc/gconf
PAGER => /usr/bin/less
MFLAGS =>
XINITRC => /etc/X11/xinit/xinitrc
PATH =>
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1_beta/bin:/opt/blackdown-jdk-1.4.1_beta/jre/bin:/usr/qt/3/bin:/usr/kde/3.1/sbin:/usr/kde/3.1/bin:/usr/kde/3/bin:/opt/vmware/bin:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1_beta/bin
MAIL => /var/mail/root
_ => /home/src/php5-200303110230/sapi/cli/php
PWD => /home/src/php5-200303110230
INPUTRC => /etc/inputrc
JAVA_HOME => /opt/blackdown-jdk-1.4.1_beta
EDITOR => /usr/bin/nano
PKGDIR => /mnt/cdrom/gentoo/packages
JAVAC => /opt/blackdown-jdk-1.4.1_beta/bin/javac
TEST_PHP_EXECUTABLE => /home/src/php5-200303110230/sapi/cli/php
REDIRECT_STATUS =>
QMAKESPEC => linux-g++
KDEDIRS => /usr/kde/3:/usr
PATH_TRANSLATED =>
CXX => g++
JDK_HOME => /opt/blackdown-jdk-1.4.1_beta
HOME => /root
SHLVL => 3
CONTENT_LENGTH =>
LOGNAME => root
QUERY_STRING =>
CVS_RSH => ssh
SSH_CONNECTION => 192.168.0.101 3158 192.168.0.100 22
CLASSPATH => /opt/blackdown-jdk-1.4.1_beta/jre/lib/rt.jar:.
LESSOPEN => |lesspipe.sh %s
VIMRUNTIME => /usr/share/vim/vim61
CONTENT_TYPE =>
CC => gcc
REQUEST_METHOD =>
CONFIG_PROTECT =>
/usr/X11R6/lib/X11/xkb:/usr/kde/3.1/share/config:/usr/kde/3/share/config:/usr/share/config
PHP Variables
Variable => Value
PHP_SELF =>
_SERVER["MANPATH"] =>
/usr/share/man:/usr/local/share/man:/usr/X11R6/man:/opt/blackdown-jdk-1.4.1_beta/man:/opt/vmware/man
_SERVER["INFODIR"] => /usr/share/info:/usr/X11R6/info
_SERVER["HOSTNAME"] => gentoo-1.home.net
_SERVER["TEST_PHP_SRCDIR"] => /home/src/php5-200303110230
_SERVER["SHELL"] => /bin/sh
_SERVER["TERM"] => xterm
_SERVER["MAKEFLAGS"] =>
_SERVER["SSH_CLIENT"] => deleted
_SERVER["QTDIR"] => /usr/qt/3
_SERVER["SSH_TTY"] => deleted
_SERVER["USER"] => root
_SERVER["SCRIPT_FILENAME"] =>
_SERVER["SSH_AUTH_SOCK"] => deleted
_SERVER["KDEDIR"] => /usr/kde/3.1
_SERVER["MAKELEVEL"] => 1
_SERVER["CONFIG_PROTECT_MASK"] => /etc/gconf
_SERVER["PAGER"] => /usr/bin/less
_SERVER["MFLAGS"] =>
_SERVER["XINITRC"] => /etc/X11/xinit/xinitrc
_SERVER["PATH"] =>
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1_beta/bin:/opt/blackdown-jdk-1.4.1_beta/jre/bin:/usr/qt/3/bin:/usr/kde/3.1/sbin:/usr/kde/3.1/bin:/usr/kde/3/bin:/opt/vmware/bin:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1_beta/bin
_SERVER["MAIL"] => /var/mail/root
_SERVER["_"] => /home/src/php5-200303110230/sapi/cli/php
_SERVER["PWD"] => /home/src/php5-200303110230
_SERVER["INPUTRC"] => /etc/inputrc
_SERVER["JAVA_HOME"] => /opt/blackdown-jdk-1.4.1_beta
_SERVER["EDITOR"] => /usr/bin/nano
_SERVER["PKGDIR"] => /mnt/cdrom/gentoo/packages
_SERVER["JAVAC"] => /opt/blackdown-jdk-1.4.1_beta/bin/javac
_SERVER["TEST_PHP_EXECUTABLE"] => /home/src/php5-200303110230/sapi/cli/php
_SERVER["REDIRECT_STATUS"] =>
_SERVER["QMAKESPEC"] => linux-g++
_SERVER["KDEDIRS"] => /usr/kde/3:/usr
_SERVER["PATH_TRANSLATED"] =>
_SERVER["CXX"] => g++
_SERVER["JDK_HOME"] => /opt/blackdown-jdk-1.4.1_beta
_SERVER["HOME"] => /root
_SERVER["SHLVL"] => 3
_SERVER["CONTENT_LENGTH"] =>
_SERVER["LOGNAME"] => root
_SERVER["QUERY_STRING"] =>
_SERVER["CVS_RSH"] => ssh
_SERVER["SSH_CONNECTION"] => 192.168.0.101 3158 192.168.0.100 22
_SERVER["CLASSPATH"] => /opt/blackdown-jdk-1.4.1_beta/jre/lib/rt.jar:.
_SERVER["LESSOPEN"] => |lesspipe.sh %s
_SERVER["VIMRUNTIME"] => /usr/share/vim/vim61
_SERVER["CONTENT_TYPE"] =>
_SERVER["CC"] => gcc
_SERVER["REQUEST_METHOD"] =>
_SERVER["CONFIG_PROTECT"] =>
/usr/X11R6/lib/X11/xkb:/usr/kde/3.1/share/config:/usr/kde/3/share/config:/usr/share/config
_SERVER["PHP_SELF"] =>
_SERVER["SCRIPT_NAME"] =>
_SERVER["DOCUMENT_ROOT"] =>
_SERVER["argv"] => Array
(
)
_SERVER["argc"] => 0
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.