Test results [failed]
| From: | noreply@php.net | Date: | Thu, 06 Mar 2003 13:12:05 +0000 |
| Subject: | Test results [failed] | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-9790@lists.php.net to get a copy of this message | ||
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
An abstract class cannot be instanciated [tests/classes/abstract_class.phpt]
A class that inherits a abstrcat method is abstract [tests/classes/abstract_inherit.phpt]
Bug #21094 (set_error_handler not accepting methods) [tests/lang/bug21094.phpt]
Bug #21800 (Segfault under interactive mode) [tests/lang/bug21800.phpt]
Bug #22367 (weird zval allocation problem) [tests/lang/bug22367.phpt]
mb_preferred_mime_name() [ext/mbstring/tests/mb_preferred_mime_name.phpt]
mb_send_mail() test 1 (lang=neutral) [ext/mbstring/tests/mb_send_mail01.phpt]
mb_send_mail() test 2 (lang=Japanese) [ext/mbstring/tests/mb_send_mail02.phpt]
mb_send_mail() test 3 (lang=English) [ext/mbstring/tests/mb_send_mail03.phpt]
mb_send_mail() test 4 (lang=German) [ext/mbstring/tests/mb_send_mail04.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]
aggregating everything [ext/standard/tests/aggregation/aggregate.phpt]
aggregating all methods [ext/standard/tests/aggregation/aggregate_methods.phpt]
aggregating methods specified in the list
[ext/standard/tests/aggregation/aggregate_methods_by_list.phpt]
aggregating methods matching regular expression
[ext/standard/tests/aggregation/aggregate_methods_by_regexp.phpt]
Bug #22414: passthru() does not read data correctly [ext/standard/tests/file/bug22414.phpt]
User-space filters [ext/standard/tests/file/userfilters.phpt]
getopt [ext/standard/tests/general_functions/getopt.phpt]
serialize()/unserialize()/var_dump() [ext/standard/tests/serialize/001.phpt]
Check for mktime with out-of-range parameters [ext/standard/tests/time/003.phpt]
mktime() [ext/standard/tests/time/mktime.phpt]
=====================================================================
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 74
Exts tested : 12
---------------------------------------------------------------------
Number of tests : 605
Tests skipped : 234 (38.7%)
Tests failed : 23 ( 3.8%)
Tests passed : 348 (57.5%)
---------------------------------------------------------------------
Time taken : 47 seconds
=====================================================================
================================================================================
/export/src/php5/tests/classes/abstract_class.phpt
================================================================================
---- EXPECTED OUTPUT
Call to function show()
Fatal error: Cannot instantiate abstract class fail in %s on line %d
---- ACTUAL OUTPUT
Call to function show()
Fatal error: Cannot instantiate abstract_class fail in
/export/src/php5/tests/classes/abstract_class.php on line 16
---- FAILED
================================================================================
003- Fatal error: Cannot instantiate abstract class fail in %s on line %d
003+ Fatal error: Cannot instantiate abstract_class fail in
/export/src/php5/tests/classes/abstract_class.php on line 16
================================================================================
================================================================================
/export/src/php5/tests/classes/abstract_inherit.phpt
================================================================================
---- EXPECTED OUTPUT
Fatal error: Cannot instantiate abstract class fail in %s on line %d
---- ACTUAL OUTPUT
Fatal error: Cannot instantiate abstract_class fail in
/export/src/php5/tests/classes/abstract_inherit.php on line 10
---- FAILED
================================================================================
001- Fatal error: Cannot instantiate abstract class fail in %s on line %d
001+ Fatal error: Cannot instantiate abstract_class fail in
/export/src/php5/tests/classes/abstract_inherit.php on line 10
================================================================================
================================================================================
/export/src/php5/tests/lang/bug21094.phpt
================================================================================
---- EXPECTED OUTPUT
[1024] errstr: test, errfile: %s, errline: %d
---- ACTUAL OUTPUT
Notice: Array to string conversion in /export/src/php5/tests/lang/bug21094.php on line 8
Notice: test in /export/src/php5/tests/lang/bug21094.php on line 10
---- FAILED
================================================================================
001- [1024] errstr: test, errfile: %s, errline: %d
001+ Notice: Array to string conversion in /export/src/php5/tests/lang/bug21094.php on line 8
002+
003+ Notice: test in /export/src/php5/tests/lang/bug21094.php on line 10
================================================================================
================================================================================
/export/src/php5/tests/lang/bug21800.phpt
================================================================================
---- EXPECTED OUTPUT
Interactive mode enabled
:test:
---- ACTUAL OUTPUT
Segmentation fault (core dumped)
---- FAILED
================================================================================
001- Interactive mode enabled
001+ Segmentation fault (core dumped)
002-
003- :test:
================================================================================
================================================================================
/export/src/php5/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)
================================================================================
================================================================================
/export/src/php5/ext/mbstring/tests/mb_preferred_mime_name.phpt
================================================================================
---- EXPECTED OUTPUT
Shift_JIS
Shift_JIS
EUC-JP
UTF-8
ISO-2022-JP
ISO-2022-JP
ISO-8859-1
UCS-2
UCS-4
== INVALID PARAMETER ==
ERR: Warning
OK_BAD_NAME
---- ACTUAL OUTPUT
Shift_JIS
Shift_JIS
EUC-JP
UTF-8
ISO-2022-JP
ISO-2022-JP
ISO-8859-1
UCS-2
UCS-4
== INVALID PARAMETER ==
ERR: Warning
OK_BAD_NAME
php in free(): warning: pointer to wrong page
php in free(): warning: pointer to wrong page
---- FAILED
================================================================================
013+
014+ php in free(): warning: pointer to wrong page
015+ php in free(): warning: pointer to wrong page
================================================================================
================================================================================
/export/src/php5/ext/mbstring/tests/mb_send_mail01.phpt
================================================================================
---- EXPECTED OUTPUT
To: example@example.com
Subject: %s
Mime-Version: 1.0
Content-Type: text/plain; charset=%s
Content-Transfer-Encoding: %s
dGVzdA==
To: example@example.com
Subject: test neutral
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: BASE64
dGVzdA==
---- ACTUAL OUTPUT
To: example@example.com
Subject: Japanese
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
test
To: example@example.com
Subject: test neutral
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: BASE64
dGVzdA==
---- FAILED
================================================================================
002- Subject: %s
002+ Subject: Japanese
004- Content-Type: text/plain; charset=%s
004+ Content-Type: text/plain; charset=ISO-2022-JP
005- Content-Transfer-Encoding: %s
005+ Content-Transfer-Encoding: 7bit
007- dGVzdA==
007+ test
================================================================================
================================================================================
/export/src/php5/ext/mbstring/tests/mb_send_mail02.phpt
================================================================================
---- EXPECTED OUTPUT
To: example@example.com
Subject: %s
Mime-Version: 1.0
Content-Type: text/plain; charset=%s
Content-Transfer-Encoding: %s
dGVzdA==
To: example@example.com
Subject: =?ISO-2022-JP?B?GyRCJUYlOSVIGyhCIEphcGFuZXNl?=
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
$B%F%9%H(B
---- ACTUAL OUTPUT
To: example@example.com
Subject: Japanese
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
test
To: example@example.com
Subject: =?ISO-2022-JP?B?GyRCJUYlOSVIGyhCIEphcGFuZXNl?=
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
$B%F%9%H(B
---- FAILED
================================================================================
002- Subject: %s
002+ Subject: Japanese
004- Content-Type: text/plain; charset=%s
004+ Content-Type: text/plain; charset=ISO-2022-JP
005- Content-Transfer-Encoding: %s
005+ Content-Transfer-Encoding: 7bit
007- dGVzdA==
007+ test
================================================================================
================================================================================
/export/src/php5/ext/mbstring/tests/mb_send_mail03.phpt
================================================================================
---- EXPECTED OUTPUT
To: example@example.com
Subject: %s
Mime-Version: 1.0
Content-Type: text/plain; charset=%s
Content-Transfer-Encoding: %s
dGVzdA==
To: example@example.com
Subject: test English
Mime-Version: 1.0
Content-Type: text/plain; charset=%s-8859-1
Content-Transfer-Encoding: 8bit
test
---- ACTUAL OUTPUT
To: example@example.com
Subject: Japanese
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
test
To: example@example.com
Subject: test English
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
test
---- FAILED
================================================================================
002- Subject: %s
002+ Subject: Japanese
004- Content-Type: text/plain; charset=%s
004+ Content-Type: text/plain; charset=ISO-2022-JP
005- Content-Transfer-Encoding: %s
005+ Content-Transfer-Encoding: 7bit
007- dGVzdA==
007+ test
011- Content-Type: text/plain; charset=%s-8859-1
011+ Content-Type: text/plain; charset=ISO-8859-1
================================================================================
================================================================================
/export/src/php5/ext/mbstring/tests/mb_send_mail04.phpt
================================================================================
---- EXPECTED OUTPUT
To: example@example.com
Subject: %s
Mime-Version: 1.0
Content-Type: text/plain; charset=%s
Content-Transfer-Encoding: %s
dGVzdA==
To: example@example.com
Subject: =?ISO-8859-15?Q?Pr=FCfung=20German?=
Mime-Version: 1.0
Content-Type: text/plain; charset=%s-8859-15
Content-Transfer-Encoding: 8bit
Prüfung
---- ACTUAL OUTPUT
To: example@example.com
Subject: Japanese
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
test
To: example@example.com
Subject: =?ISO-8859-15?Q?Pr=FCfung=20German?=
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
Prüfung
---- FAILED
================================================================================
002- Subject: %s
002+ Subject: Japanese
004- Content-Type: text/plain; charset=%s
004+ Content-Type: text/plain; charset=ISO-2022-JP
005- Content-Transfer-Encoding: %s
005+ Content-Transfer-Encoding: 7bit
007- dGVzdA==
007+ test
011- Content-Type: text/plain; charset=%s-8859-15
011+ Content-Type: text/plain; charset=ISO-8859-15
================================================================================
================================================================================
/export/src/php5/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)(2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(2)
}
array(1) {
[3]=>
object(foo)(2) {
["bar"]=>
string(2) "ok"
["yes"]=>
int(2)
}
}
---- FAILED
================================================================================
009- &object(foo)(2) {
009+ object(foo)(2) {
================================================================================
================================================================================
/export/src/php5/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) {
["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
---- FAILED
================================================================================
011- &object(foo)(2) {
011+ object(foo)(2) {
================================================================================
================================================================================
/export/src/php5/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) {
["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
---- FAILED
================================================================================
011- &object(foo)(2) {
011+ object(foo)(2) {
030- &object(foo)(2) {
030+ object(foo)(2) {
================================================================================
================================================================================
/export/src/php5/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
/export/src/php5/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
/export/src/php5/ext/standard/tests/aggregation/aggregate.php on line 7
004- ****
================================================================================
================================================================================
/export/src/php5/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
/export/src/php5/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
/export/src/php5/ext/standard/tests/aggregation/aggregate_methods.php on line 6
004- simple,mix_it
005- simple_prop
006- mixing
================================================================================
================================================================================
/export/src/php5/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
/export/src/php5/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
/export/src/php5/ext/standard/tests/aggregation/aggregate_methods_by_list.php on line 10
================================================================================
================================================================================
/export/src/php5/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
================================================================================
================================================================================
/export/src/php5/ext/standard/tests/file/bug22414.phpt
================================================================================
---- EXPECTED OUTPUT
HELLO
Works
---- ACTUAL OUTPUT
HELLO
Does not work
---- FAILED
================================================================================
002- Works
002+ Does not work
================================================================================
================================================================================
/export/src/php5/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:
================================================================================
================================================================================
/export/src/php5/ext/standard/tests/general_functions/getopt.phpt
================================================================================
---- EXPECTED OUTPUT
array(5) {
["v"]=>
bool(false)
["h"]=>
bool(false)
["d"]=>
string(4) "test"
["m"]=>
string(4) "1234"
["t"]=>
bool(false)
}
---- ACTUAL OUTPUT
Segmentation fault (core dumped)
---- FAILED
================================================================================
001- array(5) {
001+ Segmentation fault (core dumped)
002- ["v"]=>
003- bool(false)
004- ["h"]=>
005- bool(false)
006- ["d"]=>
007- string(4) "test"
008- ["m"]=>
009- string(4) "1234"
010- ["t"]=>
011- bool(false)
012- }
================================================================================
================================================================================
/export/src/php5/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)(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)(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
================================================================================
024- object(s)(2) {
024+ object(s)(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+ }
================================================================================
================================================================================
/export/src/php5/ext/standard/tests/time/003.phpt
================================================================================
---- EXPECTED OUTPUT
2000-02-29
2000-02-28
2000-02-29
2001-02-28
2001-03-01
1999-11-30
2000-05-29 12:00:00
2000-05-29 13:00:00
2000-05-29 12:00:00
2000-01-31 12:00:00
2000-01-31 12:00:00
2000-01-31 11:00:00
2000-04-29 12:00:00
2000-04-29 13:00:00
2000-04-29 12:00:00
---- ACTUAL OUTPUT
2000-02-29
2000-02-28
2000-02-29
2001-02-28
2001-03-01
1999-11-30
2000-05-29 12:00:00
2000-05-29 07:00:00
2000-05-29 12:00:00
2000-01-31 12:00:00
2000-01-31 06:00:00
2000-01-31 11:00:00
2000-04-29 12:00:00
2000-04-29 07:00:00
2000-04-29 12:00:00
---- FAILED
================================================================================
008- 2000-05-29 13:00:00
008+ 2000-05-29 07:00:00
011- 2000-01-31 12:00:00
011+ 2000-01-31 06:00:00
014- 2000-04-29 13:00:00
014+ 2000-04-29 07:00:00
================================================================================
================================================================================
/export/src/php5/ext/standard/tests/time/mktime.phpt
================================================================================
---- EXPECTED OUTPUT
int(1009843200)
int(1009843200)
int(1009843200)
int(1009843200)
int(1025481600)
int(1025481600)
int(1025481600)
int(1025481600)
int(1009839600)
int(1009839600)
int(1009839600)
int(1009836000)
int(1025474400)
int(1025474400)
int(1025478000)
int(1025474400)
---- ACTUAL OUTPUT
int(1009843200)
int(1009843200)
int(1009843200)
int(-3662)
int(1025481600)
int(1025481600)
int(1025481600)
int(-3662)
int(1009839600)
int(1009839600)
int(1009839600)
int(1009857600)
int(1025474400)
int(1025474400)
int(1025456400)
int(1025474400)
---- FAILED
================================================================================
004- int(1009843200)
004+ int(-3662)
008- int(1025481600)
008+ int(-3662)
012- int(1009836000)
012+ int(1009857600)
015- int(1025478000)
015+ int(1025456400)
================================================================================
================================================================================
BUILD ENVIRONMENT
================================================================================
OS:
FreeBSD
Automake:
automake (GNU automake) 1.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.
Libtool:
ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54)
Compiler:
Using builtin specs.
gcc version 2.95.4 20020320 [FreeBSD]
Bison:
bison (GNU Bison) 1.75
Written by Robert Corbett and Richard Stallman.
Copyright (C) 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: hoda at tail dot gr dot jp
================================================================================
PHPINFO
================================================================================
phpinfo()
PHP Version => 5.0.0-dev
System => FreeBSD azusa.tail.gr.jp 4.8-RC FreeBSD 4.8-RC #30: Thu Mar 6 i386
Build Date => Mar 6 2003 20:52:33
Configure Command => './configure' '--enable-trans-sid'
'--disable-magic-quotes' '--enable-mbstring' '--enable-mbregex'
'--enable-zend-multibyte' '--with-apxs=/usr/local/apache/bin/apxs'
'--enable-dba' '--with-gdbm' '--without-cdb' '--with-pgsql'
'--without-mysql' '--with-ldap' '--enable-dio'
'--with-config-file-path=/usr/local/etc'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/etc/php.ini
PHP API => 20020918
PHP Extension => 20020429
Zend Extension => 90021012
Debug Build => no
Thread Safety => disabled
Registered PHP Streams => php, http, ftp
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.0.0-dev, Copyright (c) 1998-2003 Zend Technologies<br />
_______________________________________________________________________
Configuration
PHP Core
Directive => Local Value => Master Value
allow_call_time_pass_reference => On => On
allow_url_fopen => On => On
always_populate_raw_post_data => Off => Off
arg_separator.input => & => &
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 => 2039 => 2039
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 => Off => Off
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 => -1 => -1
open_basedir => no value => no value
output_buffering => 1 => 1
output_handler => mb_output_handler => mb_output_handler
post_max_size => 8M => 8M
precision => 12 => 12
register_argc_argv => On => On
register_globals => Off => Off
register_long_arrays => Off => Off
report_memleaks => On => On
report_zend_debug => On => On
safe_mode => Off => Off
safe_mode_exec_dir => no value => no value
safe_mode_gid => Off => Off
safe_mode_include_dir => no value => no value
sendmail_from => me@localhost.com => me@localhost.com
sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
short_open_tag => On => On
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => Off => Off
track_errors => Off => Off
unserialize_callback_func => no value => no value
upload_max_filesize => 2M => 2M
upload_tmp_dir => no value => no value
user_dir => no value => no value
variables_order => EGPCS => EGPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
zend2.implicit_clone => no value => no value
ctype
ctype functions => enabled
dba
DBA support => enabled
Supported handlers => gdbm inifile flatfile
dio
dio support => enabled
ldap
LDAP Support => enabled
RCS Version => $Id: ldap.c,v 1.134 2003/02/16 03:48:45 wez Exp $
Total Links => 0/unlimited
API Version => 2004
Vendor Name => OpenLDAP
Vendor Version => 20111
mbstring
Multibyte Support => enabled
Japanese support => enabled
HTTP input encoding translation => enabled
Multibyte (japanese) regex support => enabled
Directive => Local Value => Master Value
mbstring.detect_order => auto => auto
mbstring.encoding_translation => On => On
mbstring.func_overload => 0 => 0
mbstring.http_input => auto => auto
mbstring.http_output => JIS => JIS
mbstring.internal_encoding => EUC-JP => EUC-JP
mbstring.language => Japanese => Japanese
mbstring.substitute_character => no value => no value
pcre
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 3.92 11-Sep-2002
pgsql
PostgreSQL Support => enabled
PostgreSQL(libpq) Version => 7.3.2
Multibyte character support => enabled
SSL support => disabled
Active Persistent Links => 0
Active Links => 0
Directive => Local Value => Master Value
pgsql.allow_persistent => On => On
pgsql.auto_reset_persistent => Off => Off
pgsql.ignore_notice => Off => Off
pgsql.log_notice => Off => Off
pgsql.max_links => Unlimited => Unlimited
pgsql.max_persistent => Unlimited => Unlimited
posix
Revision => $Revision: 1.54 $
session
Session Support => enabled
Registered save handlers => files user
Directive => Local Value => Master Value
session.auto_start => Off => Off
session.bug_compat_42 => On => On
session.bug_compat_warn => On => On
session.cache_expire => 180 => 180
session.cache_limiter => nocache => nocache
session.cookie_domain => no value => no value
session.cookie_lifetime => 0 => 0
session.cookie_path => / => /
session.cookie_secure => Off => Off
session.entropy_file => no value => no value
session.entropy_length => 0 => 0
session.gc_dividend => 100 => 100
session.gc_maxlifetime => 1440 => 1440
session.gc_probability => 1 => 1
session.hash_bits_per_character => 4 => 4
session.hash_function => 0 => 0
session.name => PHPSESSID => PHPSESSID
session.referer_check => no value => no value
session.save_handler => files => files
session.save_path => /tmp => /tmp
session.serialize_handler => php => php
session.use_cookies => On => On
session.use_only_cookies => Off => Off
session.use_trans_sid => Off => Off
standard
Regex Library => Bundled library enabled
Dynamic Library Support => enabled
Path to sendmail => /usr/sbin/sendmail -t -i
Directive => Local Value => Master Value
assert.active => 1 => 1
assert.bail => 0 => 0
assert.callback => no value => no value
assert.quiet_eval => 0 => 0
assert.warning => 1 => 1
auto_detect_line_endings => 0 => 0
date.default_latitude => 31.7667 => 31.7667
date.default_longitude => 35.2333 => 35.2333
date.sunrise_zenith => 90.83 => 90.83
date.sunset_zenith => 90.83 => 90.83
default_socket_timeout => 60 => 60
safe_mode_allowed_env_vars => PHP_ => PHP_
safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH
url_rewriter.tags => a=href,area=href,frame=src,input=src,form=,fieldset= =>
a=href,area=href,frame=src,input=src,form=,fieldset=
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
CONTENT_TYPE =>
HISTFILESIZE => 1024
SSH_CLIENT => deleted
CVS_RSH => ssh
USER => hoda
MAIL => /var/mail/hoda
CXXFLAGS => -O2 -prefer-pic
SHLVL => 2
LD_LIBRARY_PATH => /usr/local/lib:/usr/X11R6/lib:/usr/local/BerkeleyDB.4.1/lib
QUERY_STRING =>
TEST_PHP_SRCDIR => /usr/local/src/php5
HOME => /home/hoda
SSH_TTY => deleted
LDFLAGS => -L/usr/local/lib -L/usr/local/BerkeleyDB.4.1/lib -R/usr/local/lib
-R/usr/local/BerkeleyDB.4.1/lib
CONTENT_LENGTH =>
NNTPSERVER => news7.dion.ne.jp
MAKEFLAGS =>
SCRIPT_FILENAME =>
PATH_TRANSLATED =>
JSERVER => ellis.tail.gr.jp
LOGNAME => hoda
TEST_PHP_EXECUTABLE => /usr/local/src/php5/sapi/cli/php
_ => /usr/local/src/php5/sapi/cli/php
TERM => vt100
BLOCKSIZE => K
PATH =>
/usr/local/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/usr/local/pgsql/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/hoda/bin
CFLAGS => -O2 -prefer-pic
MAKELEVEL => 1
SSH_AUTH_SOCK => deleted
CPPFLAGS => -I/usr/local/include -I/usr/local/BerkeleyDB.4.1/include -I/usr/local/src/php5/TSRM
SHELL => /usr/local/bin/bash
REDIRECT_STATUS =>
LD_RUN_PATH => /usr/local/lib:/usr/X11R6/lib:/usr/local/BerkeleyDB.4.1/lib
REQUEST_METHOD =>
CVSROOT => :ext:cvs.tail.gr.jp:/export/cvsroot
LC_ALL => C
PWD => /usr/local/src/php5
SSH_CONNECTION => 210.196.134.203 62541 210.196.134.195 22
CC => gcc
PGDATA => /export/pgsql/data
FTP_PASSIVE_MODE => YES
MFLAGS =>
PHP Variables
Variable => Value
_SERVER["CONTENT_TYPE"] =>
_SERVER["HISTFILESIZE"] => 1024
_SERVER["SSH_CLIENT"] => deleted
_SERVER["CVS_RSH"] => ssh
_SERVER["USER"] => hoda
_SERVER["MAIL"] => /var/mail/hoda
_SERVER["CXXFLAGS"] => -O2 -prefer-pic
_SERVER["SHLVL"] => 2
_SERVER["LD_LIBRARY_PATH"] =>
/usr/local/lib:/usr/X11R6/lib:/usr/local/BerkeleyDB.4.1/lib
_SERVER["QUERY_STRING"] =>
_SERVER["TEST_PHP_SRCDIR"] => /usr/local/src/php5
_SERVER["HOME"] => /home/hoda
_SERVER["SSH_TTY"] => deleted
_SERVER["LDFLAGS"] => -L/usr/local/lib -L/usr/local/BerkeleyDB.4.1/lib -R/usr/local/lib
-R/usr/local/BerkeleyDB.4.1/lib
_SERVER["CONTENT_LENGTH"] =>
_SERVER["NNTPSERVER"] => news7.dion.ne.jp
_SERVER["MAKEFLAGS"] =>
_SERVER["SCRIPT_FILENAME"] =>
_SERVER["PATH_TRANSLATED"] =>
_SERVER["JSERVER"] => ellis.tail.gr.jp
_SERVER["LOGNAME"] => hoda
_SERVER["TEST_PHP_EXECUTABLE"] => /usr/local/src/php5/sapi/cli/php
_SERVER["_"] => /usr/local/src/php5/sapi/cli/php
_SERVER["TERM"] => vt100
_SERVER["BLOCKSIZE"] => K
_SERVER["PATH"] =>
/usr/local/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/usr/local/pgsql/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/hoda/bin
_SERVER["CFLAGS"] => -O2 -prefer-pic
_SERVER["MAKELEVEL"] => 1
_SERVER["SSH_AUTH_SOCK"] => deleted
_SERVER["CPPFLAGS"] => -I/usr/local/include -I/usr/local/BerkeleyDB.4.1/include
-I/usr/local/src/php5/TSRM
_SERVER["SHELL"] => /usr/local/bin/bash
_SERVER["REDIRECT_STATUS"] =>
_SERVER["LD_RUN_PATH"] => /usr/local/lib:/usr/X11R6/lib:/usr/local/BerkeleyDB.4.1/lib
_SERVER["REQUEST_METHOD"] =>
_SERVER["CVSROOT"] => :ext:cvs.tail.gr.jp:/export/cvsroot
_SERVER["LC_ALL"] => C
_SERVER["PWD"] => /usr/local/src/php5
_SERVER["SSH_CONNECTION"] => 210.196.134.203 62541 210.196.134.195 22
_SERVER["CC"] => gcc
_SERVER["PGDATA"] => /export/pgsql/data
_SERVER["FTP_PASSIVE_MODE"] => YES
_SERVER["MFLAGS"] =>
_SERVER["PHP_SELF"] =>
_SERVER["SCRIPT_NAME"] =>
_SERVER["DOCUMENT_ROOT"] =>
_SERVER["argv"] => Array
(
)
_SERVER["argc"] => 0
_ENV["CONTENT_TYPE"] =>
_ENV["HISTFILESIZE"] => 1024
_ENV["SSH_CLIENT"] => deleted
_ENV["CVS_RSH"] => ssh
_ENV["USER"] => hoda
_ENV["MAIL"] => /var/mail/hoda
_ENV["CXXFLAGS"] => -O2 -prefer-pic
_ENV["SHLVL"] => 2
_ENV["LD_LIBRARY_PATH"] => /usr/local/lib:/usr/X11R6/lib:/usr/local/BerkeleyDB.4.1/lib
_ENV["QUERY_STRING"] =>
_ENV["TEST_PHP_SRCDIR"] => /usr/local/src/php5
_ENV["HOME"] => /home/hoda
_ENV["SSH_TTY"] => deleted
_ENV["LDFLAGS"] => -L/usr/local/lib -L/usr/local/BerkeleyDB.4.1/lib -R/usr/local/lib
-R/usr/local/BerkeleyDB.4.1/lib
_ENV["CONTENT_LENGTH"] =>
_ENV["NNTPSERVER"] => news7.dion.ne.jp
_ENV["MAKEFLAGS"] =>
_ENV["SCRIPT_FILENAME"] =>
_ENV["PATH_TRANSLATED"] =>
_ENV["JSERVER"] => ellis.tail.gr.jp
_ENV["LOGNAME"] => hoda
_ENV["TEST_PHP_EXECUTABLE"] => /usr/local/src/php5/sapi/cli/php
_ENV["_"] => /usr/local/src/php5/sapi/cli/php
_ENV["TERM"] => vt100
_ENV["BLOCKSIZE"] => K
_ENV["PATH"] =>
/usr/local/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/usr/local/pgsql/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/hoda/bin
_ENV["CFLAGS"] => -O2 -prefer-pic
_ENV["MAKELEVEL"] => 1
_ENV["SSH_AUTH_SOCK"] => deleted
_ENV["CPPFLAGS"] => -I/usr/local/include -I/usr/local/BerkeleyDB.4.1/include
-I/usr/local/src/php5/TSRM
_ENV["SHELL"] => /usr/local/bin/bash
_ENV["REDIRECT_STATUS"] =>
_ENV["LD_RUN_PATH"] => /usr/local/lib:/usr/X11R6/lib:/usr/local/BerkeleyDB.4.1/lib
_ENV["REQUEST_METHOD"] =>
_ENV["CVSROOT"] => :ext:cvs.tail.gr.jp:/export/cvsroot
_ENV["LC_ALL"] => C
_ENV["PWD"] => /usr/local/src/php5
_ENV["SSH_CONNECTION"] => 210.196.134.203 62541 210.196.134.195 22
_ENV["CC"] => gcc
_ENV["PGDATA"] => /export/pgsql/data
_ENV["FTP_PASSIVE_MODE"] => YES
_ENV["MFLAGS"] =>
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.