Test results
| From: | noreply@php.net | Date: | Sat, 14 Dec 2002 10:22:34 +0000 |
| Subject: | Test results | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-7267@lists.php.net to get a copy of this message | ||
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
ctype on integers [ext/ctype/tests/001.phpt]
OpenSSL private key functions [ext/openssl/tests/001.phpt]
session object serialization [ext/session/tests/001.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]
bug compatibility: unset($c) with enabled register_globals [ext/session/tests/007.phpt]
bug compatibility: global is used albeit register_globals=0 [ext/session/tests/008-php4.2.3.phpt]
unset($_SESSION["name"]); should work with register_globals=off
[ext/session/tests/009.phpt]
session_decode(); should not segfault [ext/session/tests/011.phpt]
registering $_SESSION should not segfault [ext/session/tests/012.phpt]
redefining SID should not cause warnings [ext/session/tests/013.phpt]
a script should not be able to modify session.use_trans_sid [ext/session/tests/014.phpt]
use_trans_sid should not affect SID [ext/session/tests/015.phpt]
rewriter correctly handles attribute names which contain dashes [ext/session/tests/018.phpt]
serializing references test case using globals [ext/session/tests/019.phpt]
rewriter uses arg_seperator.output for modifying URLs [ext/session/tests/020.phpt]
rewriter handles form and fieldset tags correctly [ext/session/tests/021.phpt]
getopt [ext/standard/tests/general_functions/getopt.phpt]
=====================================================================
================================================================================
/usr/local/src/php-4.3.0RC3/ext/ctype/tests/001.phpt
================================================================================
---- EXPECTED OUTPUT
ctype_lower 26
ctype_upper 26
ctype_alpha 52
ctype_digit 10
ctype_alnum 62
ctype_cntrl 33
ctype_graph 94
ctype_print 95
ctype_punct 32
ctype_space 6
ctype_xdigit 22
---- ACTUAL OUTPUT
ctype_lower 26
ctype_upper 26
ctype_alpha 52
ctype_digit 10
ctype_alnum 62
ctype_cntrl 65
ctype_graph 189
ctype_print 191
ctype_punct 127
ctype_space 12
ctype_xdigit 22
---- FAILED
================================================================================
006- ctype_cntrl 33
006+ ctype_cntrl 65
007- ctype_graph 94
007+ ctype_graph 189
008- ctype_print 95
008+ ctype_print 191
009- ctype_punct 32
009+ ctype_punct 127
010- ctype_space 6
010+ ctype_space 12
================================================================================
================================================================================
/usr/local/src/php-4.3.0RC3/ext/openssl/tests/001.phpt
================================================================================
---- EXPECTED OUTPUT
Creating private key
Export key to file
Load key from file - array syntax
Load key using direct syntax
Load key manually and use string syntax
OK!
---- ACTUAL OUTPUT
Creating private key
Export key to file
Load key from file - array syntax
Load key using direct syntax
Load key manually and use string syntax
failed to load key using string syntax
---- FAILED
================================================================================
006- OK!
006+ failed to load key using string syntax
================================================================================
================================================================================
/usr/local/src/php-4.3.0RC3/ext/session/tests/001.phpt
================================================================================
---- EXPECTED OUTPUT
baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";s:4:"done";}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";s:4:"done";}}
---- ACTUAL OUTPUT
Memory fault (core dumped)
---- FAILED
================================================================================
001-
baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";s:4:"done";}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";s:4:"done";}}
001+ Memory fault (core dumped)
================================================================================
================================================================================
/usr/local/src/php-4.3.0RC3/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
Memory fault (core dumped)
---- FAILED
================================================================================
001- object(foo)(2) {
001+ Memory fault (core dumped)
002- ["bar"]=>
003- string(2) "ok"
004- ["yes"]=>
005- int(2)
006- }
007- array(1) {
008- [3]=>
009- &object(foo)(2) {
010- ["bar"]=>
011- string(2) "ok"
012- ["yes"]=>
013- int(2)
014- }
015- }
================================================================================
================================================================================
/usr/local/src/php-4.3.0RC3/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
Fatal error: Call to a member function on a non-object in
/usr/local/src/php-4.3.0RC3/ext/session/tests/004.php on line 48
/usr/local/src/php-4.3.0RC3/ext/session/tests/004.php(48) : Fatal error - Call to a member function
on a non-object
---- FAILED
================================================================================
001- OPEN: PHPSESSID
001+ Fatal error: Call to a member function on a non-object in
/usr/local/src/php-4.3.0RC3/ext/session/tests/004.php on line 48
002- READ: abtest
002+ /usr/local/src/php-4.3.0RC3/ext/session/tests/004.php(48) : Fatal error - Call to a member
function on a non-object
003- object(foo)(2) {
004- ["bar"]=>
005- string(2) "ok"
006- ["yes"]=>
007- int(2)
008- }
009- array(1) {
010- [3]=>
011- &object(foo)(2) {
012- ["bar"]=>
013- string(2) "ok"
014- ["yes"]=>
015- int(2)
016- }
017- }
018- 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;}}
019- OPEN: PHPSESSID
020- READ: abtest
021- object(foo)(2) {
022- ["bar"]=>
023- string(2) "ok"
024- ["yes"]=>
025- int(2)
026- }
027- array(1) {
028- [3]=>
029- object(foo)(2) {
030- ["bar"]=>
031- string(2) "ok"
032- ["yes"]=>
033- int(2)
034- }
035- }
036- DESTROY: abtest
================================================================================
================================================================================
/usr/local/src/php-4.3.0RC3/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
Fatal error: Call to a member function on a non-object in
/usr/local/src/php-4.3.0RC3/ext/session/tests/005.php on line 50
/usr/local/src/php-4.3.0RC3/ext/session/tests/005.php(50) : Fatal error - Call to a member function
on a non-object
---- FAILED
================================================================================
001- OPEN: PHPSESSID
001+ Fatal error: Call to a member function on a non-object in
/usr/local/src/php-4.3.0RC3/ext/session/tests/005.php on line 50
002- READ: abtest
002+ /usr/local/src/php-4.3.0RC3/ext/session/tests/005.php(50) : Fatal error - Call to a member
function on a non-object
003- object(foo)(2) {
004- ["bar"]=>
005- string(2) "ok"
006- ["yes"]=>
007- int(2)
008- }
009- array(1) {
010- [3]=>
011- &object(foo)(2) {
012- ["bar"]=>
013- string(2) "ok"
014- ["yes"]=>
015- int(2)
016- }
017- }
018- 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;}}
019- CLOSE
020- OPEN: PHPSESSID
021- READ: abtest
022- object(foo)(2) {
023- ["bar"]=>
024- string(2) "ok"
025- ["yes"]=>
026- int(3)
027- }
028- array(1) {
029- [3]=>
030- &object(foo)(2) {
031- ["bar"]=>
032- string(2) "ok"
033- ["yes"]=>
034- int(3)
035- }
036- }
037- int(123)
038- 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;
039- CLOSE
040- OPEN: PHPSESSID
041- READ: abtest
042- object(foo)(2) {
043- ["bar"]=>
044- string(2) "ok"
045- ["yes"]=>
046- int(3)
047- }
048- array(1) {
049- [3]=>
050- object(foo)(2) {
051- ["bar"]=>
052- string(2) "ok"
053- ["yes"]=>
054- int(3)
055- }
056- }
057- int(123)
058- DESTROY: abtest
059- CLOSE
================================================================================
================================================================================
/usr/local/src/php-4.3.0RC3/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) {
["test"]=>
string(5) "hallo"
}
object(b)(1) {
["a"]=>
&object(a)(1) {
["test"]=>
string(5) "hallo"
}
}
Memory fault (core dumped)
---- FAILED
================================================================================
013- values after session:
013+ Memory fault (core dumped)
014- object(a)(1) {
015- ["test"]=>
016- string(5) "hallo"
017- }
018- object(b)(1) {
019- ["a"]=>
020- &object(a)(1) {
021- ["test"]=>
022- string(5) "hallo"
023- }
024- }
================================================================================
================================================================================
/usr/local/src/php-4.3.0RC3/ext/session/tests/007.phpt
================================================================================
---- EXPECTED OUTPUT
float(3.14)
array(1) {
["c"]=>
&float(3.14)
}
float(3.14)
array(1) {
["c"]=>
&float(3.14)
}
---- ACTUAL OUTPUT
Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Trying to destroy
uninitialized session in /usr/local/src/php-4.3.0RC3/ext/session/tests/007.php on line 8
/usr/local/src/php-4.3.0RC3/ext/session/tests/007.php(8) : Warning - session_destroy()
[/phpmanual/function.session-destroy.html]: Trying to destroy uninitialized session
Memory fault (core dumped)
---- FAILED
================================================================================
001- float(3.14)
001+ Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Trying to destroy
uninitialized session in /usr/local/src/php-4.3.0RC3/ext/session/tests/007.php on line 8
002- array(1) {
002+ /usr/local/src/php-4.3.0RC3/ext/session/tests/007.php(8) : Warning - session_destroy()
[/phpmanual/function.session-destroy.html]: Trying to destroy uninitialized session
003- ["c"]=>
003+ Memory fault (core dumped)
004- &float(3.14)
005- }
006- float(3.14)
007- array(1) {
008- ["c"]=>
009- &float(3.14)
010- }
================================================================================
================================================================================
/usr/local/src/php-4.3.0RC3/ext/session/tests/008-php4.2.3.phpt
================================================================================
---- EXPECTED OUTPUT
NULL
Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be
advised that the session extension does not consider global variables as a source of data, unless
register_globals is enabled. You can disable this functionality and this warning by setting
session.bug_compat_42 or session.bug_compat_warn to off, respectively.
array(1) {
["c"]=>
float(3.14)
}
NULL
array(1) {
["c"]=>
float(3.14)
}
---- ACTUAL OUTPUT
Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Trying to destroy
uninitialized session in /usr/local/src/php-4.3.0RC3/ext/session/tests/008-php4.2.3.php on line 6
/usr/local/src/php-4.3.0RC3/ext/session/tests/008-php4.2.3.php(6) : Warning - session_destroy()
[/phpmanual/function.session-destroy.html]: Trying to destroy uninitialized session
Memory fault (core dumped)
---- FAILED
================================================================================
001- NULL
001+ Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Trying to destroy
uninitialized session in /usr/local/src/php-4.3.0RC3/ext/session/tests/008-php4.2.3.php on line 6
002- Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be
advised that the session extension does not consider global variables as a source of data, unless
register_globals is enabled. You can disable this functionality and this warning by setting
session.bug_compat_42 or session.bug_compat_warn to off, respectively.
002+ /usr/local/src/php-4.3.0RC3/ext/session/tests/008-php4.2.3.php(6) : Warning - session_destroy()
[/phpmanual/function.session-destroy.html]: Trying to destroy uninitialized session
003- array(1) {
003+ Memory fault (core dumped)
004- ["c"]=>
005- float(3.14)
006- }
007- NULL
008- array(1) {
009- ["c"]=>
010- float(3.14)
011- }
================================================================================
================================================================================
/usr/local/src/php-4.3.0RC3/ext/session/tests/009.phpt
================================================================================
---- EXPECTED OUTPUT
array(0) {
}
array(1) {
["name"]=>
string(3) "foo"
}
array(1) {
["name"]=>
string(3) "foo"
}
array(0) {
}
array(0) {
}
---- ACTUAL OUTPUT
Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Trying to destroy
uninitialized session in /usr/local/src/php-4.3.0RC3/ext/session/tests/009.php on line 8
/usr/local/src/php-4.3.0RC3/ext/session/tests/009.php(8) : Warning - session_destroy()
[/phpmanual/function.session-destroy.html]: Trying to destroy uninitialized session
Notice: Undefined variable: HTTP_SESSION_VARS in
/usr/local/src/php-4.3.0RC3/ext/session/tests/009.php on line 13
/usr/local/src/php-4.3.0RC3/ext/session/tests/009.php(13) : Notice - Undefined variable:
HTTP_SESSION_VARS
NULL
array(1) {
["name"]=>
string(3) "foo"
}
array(1) {
["name"]=>
string(3) "foo"
}
array(0) {
}
array(0) {
}
Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Trying to destroy
uninitialized session in /usr/local/src/php-4.3.0RC3/ext/session/tests/009.php on line 29
/usr/local/src/php-4.3.0RC3/ext/session/tests/009.php(29) : Warning - session_destroy()
[/phpmanual/function.session-destroy.html]: Trying to destroy uninitialized session
---- FAILED
================================================================================
001- array(0) {
001+ Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Trying to destroy
uninitialized session in /usr/local/src/php-4.3.0RC3/ext/session/tests/009.php on line 8
002- }
002+ /usr/local/src/php-4.3.0RC3/ext/session/tests/009.php(8) : Warning - session_destroy()
[/phpmanual/function.session-destroy.html]: Trying to destroy uninitialized session
003- array(1) {
003+
004- ["name"]=>
004+ Notice: Undefined variable: HTTP_SESSION_VARS in
/usr/local/src/php-4.3.0RC3/ext/session/tests/009.php on line 13
005- string(3) "foo"
005+ /usr/local/src/php-4.3.0RC3/ext/session/tests/009.php(13) : Notice - Undefined variable:
HTTP_SESSION_VARS
006- }
006+ NULL
011- array(0) {
011+ array(1) {
012- }
012+ ["name"]=>
013- array(0) {
013+ string(3) "foo"
015+ array(0) {
016+ }
017+ array(0) {
018+ }
019+
020+ Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Trying to destroy
uninitialized session in /usr/local/src/php-4.3.0RC3/ext/session/tests/009.php on line 29
021+ /usr/local/src/php-4.3.0RC3/ext/session/tests/009.php(29) : Warning - session_destroy()
[/phpmanual/function.session-destroy.html]: Trying to destroy uninitialized session
================================================================================
================================================================================
/usr/local/src/php-4.3.0RC3/ext/session/tests/011.phpt
================================================================================
---- EXPECTED OUTPUT
I live
---- ACTUAL OUTPUT
Memory fault (core dumped)
---- FAILED
================================================================================
001- I live
001+ Memory fault (core dumped)
================================================================================
================================================================================
/usr/local/src/php-4.3.0RC3/ext/session/tests/012.phpt
================================================================================
---- EXPECTED OUTPUT
I live
---- ACTUAL OUTPUT
Memory fault (core dumped)
---- FAILED
================================================================================
001- I live
001+ Memory fault (core dumped)
================================================================================
================================================================================
/usr/local/src/php-4.3.0RC3/ext/session/tests/013.phpt
================================================================================
---- EXPECTED OUTPUT
I live
---- ACTUAL OUTPUT
Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Trying to destroy
uninitialized session in /usr/local/src/php-4.3.0RC3/ext/session/tests/013.php on line 6
/usr/local/src/php-4.3.0RC3/ext/session/tests/013.php(6) : Warning - session_destroy()
[/phpmanual/function.session-destroy.html]: Trying to destroy uninitialized session
Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Trying to destroy
uninitialized session in /usr/local/src/php-4.3.0RC3/ext/session/tests/013.php on line 9
/usr/local/src/php-4.3.0RC3/ext/session/tests/013.php(9) : Warning - session_destroy()
[/phpmanual/function.session-destroy.html]: Trying to destroy uninitialized session
I live
---- FAILED
================================================================================
001- I live
001+ Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Trying to destroy
uninitialized session in /usr/local/src/php-4.3.0RC3/ext/session/tests/013.php on line 6
002+ /usr/local/src/php-4.3.0RC3/ext/session/tests/013.php(6) : Warning - session_destroy()
[/phpmanual/function.session-destroy.html]: Trying to destroy uninitialized session
003+
004+ Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Trying to destroy
uninitialized session in /usr/local/src/php-4.3.0RC3/ext/session/tests/013.php on line 9
005+ /usr/local/src/php-4.3.0RC3/ext/session/tests/013.php(9) : Warning - session_destroy()
[/phpmanual/function.session-destroy.html]: Trying to destroy uninitialized session
006+ I live
================================================================================
================================================================================
/usr/local/src/php-4.3.0RC3/ext/session/tests/014.phpt
================================================================================
---- EXPECTED OUTPUT
<a href="/link?PHPSESSID=abtest">
<a href="/link?PHPSESSID=abtest">
<a href="/link?PHPSESSID=abtest">
---- ACTUAL OUTPUT
<a href="/link">
<a href="/link">
<a href="/link">
Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Trying to destroy
uninitialized session in /usr/local/src/php-4.3.0RC3/ext/session/tests/014.php on line 18
/usr/local/src/php-4.3.0RC3/ext/session/tests/014.php(18) : Warning - session_destroy()
[/phpmanual/function.session-destroy.html]: Trying to destroy uninitialized session
---- FAILED
================================================================================
001- <a href="/link?PHPSESSID=abtest">
001+ <a href="/link">
002- <a href="/link?PHPSESSID=abtest">
002+ <a href="/link">
003- <a href="/link?PHPSESSID=abtest">
003+ <a href="/link">
004+
005+ Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Trying to destroy
uninitialized session in /usr/local/src/php-4.3.0RC3/ext/session/tests/014.php on line 18
006+ /usr/local/src/php-4.3.0RC3/ext/session/tests/014.php(18) : Warning - session_destroy()
[/phpmanual/function.session-destroy.html]: Trying to destroy uninitialized session
================================================================================
================================================================================
/usr/local/src/php-4.3.0RC3/ext/session/tests/015.phpt
================================================================================
---- EXPECTED OUTPUT
<a href="/link?PHPSESSID=abtest&PHPSESSID=abtest">
---- ACTUAL OUTPUT
<a href="/link?
Notice: Use of undefined constant SID - assumed 'SID' in
/usr/local/src/php-4.3.0RC3/ext/session/tests/015.php on line 7
/usr/local/src/php-4.3.0RC3/ext/session/tests/015.php(7) : Notice - Use of undefined constant SID -
assumed 'SID'
SID">
Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Trying to destroy
uninitialized session in /usr/local/src/php-4.3.0RC3/ext/session/tests/015.php on line 9
/usr/local/src/php-4.3.0RC3/ext/session/tests/015.php(9) : Warning - session_destroy()
[/phpmanual/function.session-destroy.html]: Trying to destroy uninitialized session
---- FAILED
================================================================================
001- <a href="/link?PHPSESSID=abtest&PHPSESSID=abtest">
001+ <a href="/link?
002+ Notice: Use of undefined constant SID - assumed 'SID' in
/usr/local/src/php-4.3.0RC3/ext/session/tests/015.php on line 7
003+ /usr/local/src/php-4.3.0RC3/ext/session/tests/015.php(7) : Notice - Use of undefined constant
SID - assumed 'SID'
004+ SID">
005+
006+ Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Trying to destroy
uninitialized session in /usr/local/src/php-4.3.0RC3/ext/session/tests/015.php on line 9
007+ /usr/local/src/php-4.3.0RC3/ext/session/tests/015.php(9) : Warning - session_destroy()
[/phpmanual/function.session-destroy.html]: Trying to destroy uninitialized session
================================================================================
================================================================================
/usr/local/src/php-4.3.0RC3/ext/session/tests/018.phpt
================================================================================
---- EXPECTED OUTPUT
<form accept-charset="ISO-8859-15, ISO-8859-1" action=url.php><input
type="hidden" name="PHPSESSID" value="abtest" />
---- ACTUAL OUTPUT
<form accept-charset="ISO-8859-15, ISO-8859-1" action=url.php>
Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Trying to destroy
uninitialized session in /usr/local/src/php-4.3.0RC3/ext/session/tests/018.php on line 10
/usr/local/src/php-4.3.0RC3/ext/session/tests/018.php(10) : Warning - session_destroy()
[/phpmanual/function.session-destroy.html]: Trying to destroy uninitialized session
---- FAILED
================================================================================
001- <form accept-charset="ISO-8859-15, ISO-8859-1" action=url.php><input
type="hidden" name="PHPSESSID" value="abtest" />
001+ <form accept-charset="ISO-8859-15, ISO-8859-1" action=url.php>
002+
003+ Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Trying to destroy
uninitialized session in /usr/local/src/php-4.3.0RC3/ext/session/tests/018.php on line 10
004+ /usr/local/src/php-4.3.0RC3/ext/session/tests/018.php(10) : Warning - session_destroy()
[/phpmanual/function.session-destroy.html]: Trying to destroy uninitialized session
================================================================================
================================================================================
/usr/local/src/php-4.3.0RC3/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
Memory fault (core dumped)
---- FAILED
================================================================================
001- array(2) {
001+ Memory fault (core dumped)
002- ["o1"]=>
003- &object(tfoo)(1) {
004- ["c"]=>
005- int(42)
006- }
007- ["o2"]=>
008- &object(tfoo)(1) {
009- ["c"]=>
010- int(42)
011- }
012- }
013- array(2) {
014- ["o1"]=>
015- &object(tfoo)(1) {
016- ["c"]=>
017- int(44)
018- }
019- ["o2"]=>
020- &object(tfoo)(1) {
021- ["c"]=>
022- int(44)
023- }
024- }
================================================================================
================================================================================
/usr/local/src/php-4.3.0RC3/ext/session/tests/020.phpt
================================================================================
---- EXPECTED OUTPUT
<a href="link.php?a=b&PHPSESSID=abtest">
---- ACTUAL OUTPUT
<a href="link.php?a=b">
Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Trying to destroy
uninitialized session in /usr/local/src/php-4.3.0RC3/ext/session/tests/020.php on line 10
/usr/local/src/php-4.3.0RC3/ext/session/tests/020.php(10) : Warning - session_destroy()
[/phpmanual/function.session-destroy.html]: Trying to destroy uninitialized session
---- FAILED
================================================================================
001- <a href="link.php?a=b&PHPSESSID=abtest">
001+ <a href="link.php?a=b">
002+
003+ Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Trying to destroy
uninitialized session in /usr/local/src/php-4.3.0RC3/ext/session/tests/020.php on line 10
004+ /usr/local/src/php-4.3.0RC3/ext/session/tests/020.php(10) : Warning - session_destroy()
[/phpmanual/function.session-destroy.html]: Trying to destroy uninitialized session
================================================================================
================================================================================
/usr/local/src/php-4.3.0RC3/ext/session/tests/021.phpt
================================================================================
---- EXPECTED OUTPUT
<form><input type="hidden" name="PHPSESSID" value="abtest"
/>
<fieldset><input type="hidden" name="PHPSESSID"
value="abtest" />
<form><input type="hidden" name="PHPSESSID" value="abtest"
/>
<fieldset>
<form><input type="hidden" name="PHPSESSID" value="abtest"
/>
<fieldset>
<form>
<fieldset><input type="hidden" name="PHPSESSID"
value="abtest" />
---- ACTUAL OUTPUT
<form>
<fieldset>
Notice: ob_flush() [/phpmanual/ref.outcontrol.html]: failed to flush buffer. No buffer to flush. in
/usr/local/src/php-4.3.0RC3/ext/session/tests/021.php on line 12
/usr/local/src/php-4.3.0RC3/ext/session/tests/021.php(12) : Notice - ob_flush()
[/phpmanual/ref.outcontrol.html]: failed to flush buffer. No buffer to flush.
<form>
<fieldset>
Notice: ob_flush() [/phpmanual/ref.outcontrol.html]: failed to flush buffer. No buffer to flush. in
/usr/local/src/php-4.3.0RC3/ext/session/tests/021.php on line 21
/usr/local/src/php-4.3.0RC3/ext/session/tests/021.php(21) : Notice - ob_flush()
[/phpmanual/ref.outcontrol.html]: failed to flush buffer. No buffer to flush.
<form>
<fieldset>
Notice: ob_flush() [/phpmanual/ref.outcontrol.html]: failed to flush buffer. No buffer to flush. in
/usr/local/src/php-4.3.0RC3/ext/session/tests/021.php on line 30
/usr/local/src/php-4.3.0RC3/ext/session/tests/021.php(30) : Notice - ob_flush()
[/phpmanual/ref.outcontrol.html]: failed to flush buffer. No buffer to flush.
<form>
<fieldset>
Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Trying to destroy
uninitialized session in /usr/local/src/php-4.3.0RC3/ext/session/tests/021.php on line 39
/usr/local/src/php-4.3.0RC3/ext/session/tests/021.php(39) : Warning - session_destroy()
[/phpmanual/function.session-destroy.html]: Trying to destroy uninitialized session
---- FAILED
================================================================================
001- <form><input type="hidden" name="PHPSESSID"
value="abtest" />
001+ <form>
002- <fieldset><input type="hidden" name="PHPSESSID"
value="abtest" />
002+ <fieldset>
003- <form><input type="hidden" name="PHPSESSID"
value="abtest" />
003+
004- <fieldset>
004+ Notice: ob_flush() [/phpmanual/ref.outcontrol.html]: failed to flush buffer. No buffer to
flush. in /usr/local/src/php-4.3.0RC3/ext/session/tests/021.php on line 12
005- <form><input type="hidden" name="PHPSESSID"
value="abtest" />
005+ /usr/local/src/php-4.3.0RC3/ext/session/tests/021.php(12) : Notice - ob_flush()
[/phpmanual/ref.outcontrol.html]: failed to flush buffer. No buffer to flush.
006- <fieldset>
006+ <form>
007- <form>
007+ <fieldset>
008- <fieldset><input type="hidden" name="PHPSESSID"
value="abtest" />
008+
009+ Notice: ob_flush() [/phpmanual/ref.outcontrol.html]: failed to flush buffer. No buffer to
flush. in /usr/local/src/php-4.3.0RC3/ext/session/tests/021.php on line 21
010+ /usr/local/src/php-4.3.0RC3/ext/session/tests/021.php(21) : Notice - ob_flush()
[/phpmanual/ref.outcontrol.html]: failed to flush buffer. No buffer to flush.
011+ <form>
012+ <fieldset>
013+
014+ Notice: ob_flush() [/phpmanual/ref.outcontrol.html]: failed to flush buffer. No buffer to
flush. in /usr/local/src/php-4.3.0RC3/ext/session/tests/021.php on line 30
015+ /usr/local/src/php-4.3.0RC3/ext/session/tests/021.php(30) : Notice - ob_flush()
[/phpmanual/ref.outcontrol.html]: failed to flush buffer. No buffer to flush.
016+ <form>
017+ <fieldset>
018+
019+ Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Trying to destroy
uninitialized session in /usr/local/src/php-4.3.0RC3/ext/session/tests/021.php on line 39
020+ /usr/local/src/php-4.3.0RC3/ext/session/tests/021.php(39) : Warning - session_destroy()
[/phpmanual/function.session-destroy.html]: Trying to destroy uninitialized session
================================================================================
================================================================================
/usr/local/src/php-4.3.0RC3/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
array(0) {
}
---- FAILED
================================================================================
001- array(5) {
001+ array(0) {
002- ["v"]=>
002+ }
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- }
================================================================================
================================================================================
BUILD ENVIRONMENT
================================================================================
OS:
OpenBSD
Automake:
Autoconf:
Autoconf version 2.13
Libtool:
ltmain.sh (GNU libtool) 1.3.5 (1.385.2.206 2000/05/27 11:12:27)
Compiler:
Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd3.2/2.95.3/specs
gcc version 2.95.3 20010125 (prerelease)
Bison:
User's E-mail: rachel at willmer dot org
================================================================================
PHPINFO
================================================================================
phpinfo()
PHP Version => 4.3.0RC3
System => OpenBSD turing 3.2 GENERIC#0 i386
Build Date => Dec 14 2002 05:25:24
Configure Command => './configure' '--with-apxs=/usr/sbin/apxs'
'--enable-cli' '--with-iconv=/usr/local' '--with-gettext=/usr/local'
'--enable-dio' '--without-pear' '--enable-bcmath'
'--enable-session' '--enable-trans-sid' '--enable-calendar'
'--enable-ctype' '--enable-ftp' '--with-pcre-regex'
'--with-posix' '--enable-sockets' '--enable-sysvsem'
'--enable-sysvshm' '--enable-yp' '--with-recode=/usr/local'
'--enable-shared' '--disable-static' '--disable-rpath'
'--with-config-file-path=/var/www/conf' '--enable-inline-optimization'
'--with-pic' '--with-openssl' '--with-zlib'
'--prefix=/usr/local' '--sysconfdir=/etc' '--enable-debug'
'-with-mm'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /var/www/conf/php.ini
PHP API => 20020918
PHP Extension => 20020429
Zend Extension => 20021010
Debug Build => yes
Thread Safety => disabled
Registered PHP Streams => php, http, ftp, https, ftps, compress.zlib
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2002 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_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_functions => no value => no value
display_errors => On => On
display_startup_errors => On => On
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 => /var/www/logs/php.err => /var/www/logs/php.err
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 => On
include_path => .: => .:
log_errors => On => On
log_errors_max_len => 1024 => 1024
magic_quotes_gpc => On => On
magic_quotes_runtime => Off => Off
magic_quotes_sybase => Off => Off
max_execution_time => 0 => 30
max_input_time => 60 => 60
open_basedir => no value => no value
output_buffering => 1 => 1
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 14 => 14
register_argc_argv => On => Off
register_globals => On => On
report_memleaks => 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 => GPCS => GPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
bcmath
BCMath support => enabled
calendar
Calendar support => enabled
ctype
ctype functions => enabled
dio
dio support => enabled
ftp
FTP support => enabled
gettext
GetText Support => enabled
iconv
iconv support => enabled
iconv implementation => libiconv
iconv library version => 1.5
Directive => Local Value => Master Value
iconv.input_encoding => ISO-8859-1 => ISO-8859-1
iconv.internal_encoding => ISO-8859-1 => ISO-8859-1
iconv.output_encoding => ISO-8859-1 => ISO-8859-1
mysql
MySQL Support => enabled
Active Persistent Links => 0
Active Links => 0
Client API version => 3.23.49
MYSQL_MODULE_TYPE => builtin
MYSQL_SOCKET => /var/run/mysql/mysql.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 => 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.7-beta3 30 Jul 2002
overload
User-Space Object Overloading Support => enabled
pcre
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 3.92 11-Sep-2002
posix
Revision => $Revision: 1.51 $
recode
Recode Support => enabled
Revision => $Revision: 1.29 $
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 => 1000 => 1000
session.gc_maxlifetime => 1440 => 1440
session.gc_probability => 1 => 1
session.name => PHPSESSID => PHPSESSID
session.referer_check => no value => no value
session.save_handler => mm => mm
session.save_path => ./session_data => ./session_data
session.serialize_handler => php => php
session.use_cookies => On => On
session.use_only_cookies => Off => Off
session.use_trans_sid => Off => Off
sockets
Sockets Support => enabled
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
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.2
yp
YP Support => enabled
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
sysvsem
sysvshm
Environment
Variable => Value
PS1 => [\u@\h \W]#
PATH => /sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/local/sbin
SHELL => /usr/local/bin/bash
MAKEFLAGS =>
USER => root
HOME => /root
PWD => /usr/local/src/php-4.3.0RC3
OLDPWD => /usr/local/src/php-4.3.0RC3/ext
CC => gcc
QUERY_STRING => TERM => xterm
_ => /usr/bin/make
CONTENT_TYPE => TEST_PHP_EXECUTABLE => /usr/local/src/php-4.3.0RC3/sapi/cli/php
LOGNAME => root
SHLVL => 1
REDIRECT_STATUS => REQUEST_METHOD => TEST_PHP_SRCDIR => /usr/local/src/php-4.3.0RC3
CONTENT_LENGTH => TERMCAP =>
xterm:am:bs:km:mi:ms:xn:co#80:it#8:li#24:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\EOH:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:rs=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:up=\E[A:us=\E[4m:
PATH_TRANSLATED => SCRIPT_FILENAME =>
PHP Variables
Variable => Value
PHP_SELF => _SERVER["PS1"] => [\\u@\\h \\W]#
_SERVER["PATH"] => /sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/local/sbin
_SERVER["SHELL"] => /usr/local/bin/bash
_SERVER["MAKEFLAGS"] =>
_SERVER["USER"] => root
_SERVER["HOME"] => /root
_SERVER["PWD"] => /usr/local/src/php-4.3.0RC3
_SERVER["OLDPWD"] => /usr/local/src/php-4.3.0RC3/ext
_SERVER["CC"] => gcc
_SERVER["QUERY_STRING"] =>
_SERVER["TERM"] => xterm
_SERVER["_"] => /usr/bin/make
_SERVER["CONTENT_TYPE"] =>
_SERVER["TEST_PHP_EXECUTABLE"] => /usr/local/src/php-4.3.0RC3/sapi/cli/php
_SERVER["LOGNAME"] => root
_SERVER["SHLVL"] => 1
_SERVER["REDIRECT_STATUS"] =>
_SERVER["REQUEST_METHOD"] =>
_SERVER["TEST_PHP_SRCDIR"] => /usr/local/src/php-4.3.0RC3
_SERVER["CONTENT_LENGTH"] =>
_SERVER["TERMCAP"] =>
xterm:am:bs:km:mi:ms:xn:co#80:it#8:li#24:AL=\\E[%dL:DC=\\E[%dP:DL=\\E[%dM:DO=\\E[%dB:LE=\\E[%dD:RI=\\E[%dC:UP=\\E[%dA:ae=^O:al=\\E[L:as=^N:bl=^G:cd=\\E[J:ce=\\E[K:cl=\\E[H\\E[2J:cm=\\E[%i%d;%dH:cr=^M:cs=\\E[%i%d;%dr:ct=\\E[3g:dc=\\E[P:dl=\\E[M:do=^J:ei=\\E[4l:ho=\\E[H:im=\\E[4h:is=\\E7\\E[r\\E[m\\E[?7h\\E[?1;3;4;6l\\E[4l\\E8\\E>:k1=\\E[11~:k2=\\E[12~:k3=\\E[13~:k4=\\E[14~:k5=\\E[15~:k6=\\E[17~:k7=\\E[18~:k8=\\E[19~:k9=\\E[20~:kD=\\E[3~:kI=\\E[2~:kN=\\E[6~:kP=\\E[5~:kb=\\177:kd=\\EOB:ke=\\E[?1l\\E>:kh=\\EOH:kl=\\EOD:kr=\\EOC:ks=\\E[?1h\\E=:ku=\\EOA:le=^H:md=\\E[1m:me=\\E[m:mr=\\E[7m:nd=\\E[C:rc=\\E8:rs=\\E7\\E[r\\E8\\E[m\\E[?7h\\E[?1;3;4;6l\\E[4l\\E>:sc=\\E7:se=\\E[m:sf=^J:so=\\E[7m:sr=\\EM:st=\\EH:ta=^I:te=\\E[2J\\E[?47l\\E8:ti=\\E7\\E[?47h:ue=\\E[m:up=\\E[A:us=\\E[4m:
_SERVER["PATH_TRANSLATED"] =>
_SERVER["SCRIPT_FILENAME"] =>
_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.