Test results

From: Date: Wed, 27 Nov 2002 09:54:55 +0000
Subject: Test results
Groups: php.qa 
Request: Send a blank email to php-qa+get-7019@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Output buffering tests [tests/func/006.phpt] Bug #20175 (Static vars can't store ref to new instance) [tests/lang/bug20175.phpt] Test pcntl wait functionality [ext/pcntl/tests/001.phpt] PostgreSQL notice function [ext/pgsql/tests/09notice.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] 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] 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] User-space streams [ext/standard/tests/file/userstreams.phpt] ===================================================================== ================================================================================ /usr/src/php4/tests/func/006.phpt ================================================================================ ---- EXPECTED OUTPUT string(2) "2B" string(2) "1A" ---- ACTUAL OUTPUT string(2) "3B" string(2) "2A" ---- FAILED ================================================================================ 001- string(2) "2B" 001+ string(2) "3B" 002- string(2) "1A" 002+ string(2) "2A" ================================================================================ ================================================================================ /usr/src/php4/tests/lang/bug20175.phpt ================================================================================ ---- EXPECTED OUTPUT %s foo_static() foo_global() foo:1 foo_static() foo:1 bar_static() bar_global() bar:1 bar_static() bar_global() bar:2 wow_static() wow_global() wow:1 wow_static() wow:1 oop_test() oop_static() oop_class() oop:1 oop_static() oop:1 oop_test() oop_static() oop:1 ---- ACTUAL OUTPUT Parse error: parse error, unexpected ')', expecting '(' in /usr/src/php4/tests/lang/bug20175.php on line 109 ---- FAILED ================================================================================ 001- %s 001+ Parse error: parse error, unexpected ')', expecting '(' in /usr/src/php4/tests/lang/bug20175.php on line 109 002- foo_static() 003- foo_global() 004- foo:1 005- foo_static() 006- foo:1 007- bar_static() 008- bar_global() 009- bar:1 010- bar_static() 011- bar_global() 012- bar:2 013- wow_static() 014- wow_global() 015- wow:1 016- wow_static() 017- wow:1 018- oop_test() 019- oop_static() 020- oop_class() 021- oop:1 022- oop_static() 023- oop:1 024- oop_test() 025- oop_static() 026- oop:1 ================================================================================ ================================================================================ /usr/src/php4/ext/pcntl/tests/001.phpt ================================================================================ ---- EXPECTED OUTPUT Staring wait.h tests.... Testing pcntl_wifexited and wexitstatus.... Exited With: -1 Testing pcntl_wifsignaled.... Process was terminated by signal : SIGTERM Testing pcntl_wifstopped and pcntl_wstopsig.... Process was stoped by signal : SIGSTOP ---- ACTUAL OUTPUT Staring wait.h tests.... Testing pcntl_wifexited and wexitstatus....Staring wait.h tests.... Testing pcntl_wifexited and wexitstatus.... Exited With: -1 Testing pcntl_wifsignaled.... Process was terminated by signal : SIGTERM Testing pcntl_wifstopped and pcntl_wstopsig.... Process was stoped by signal : SIGSTOPStaring wait.h tests.... Testing pcntl_wifexited and wexitstatus.... Exited With: -1 Testing pcntl_wifsignaled.... Process was terminated by signal : SIGTERM Testing pcntl_wifstopped and pcntl_wstopsig.... ---- FAILED ================================================================================ 003- Testing pcntl_wifexited and wexitstatus.... 003+ Testing pcntl_wifexited and wexitstatus....Staring wait.h tests.... 004- Exited With: -1 004+ 005- 005+ Testing pcntl_wifexited and wexitstatus.... 006- Testing pcntl_wifsignaled.... 006+ Exited With: -1 007- Process was terminated by signal : SIGTERM 007+ 008- 008+ Testing pcntl_wifsignaled.... 009- Testing pcntl_wifstopped and pcntl_wstopsig.... 009+ Process was terminated by signal : SIGTERM 010- Process was stoped by signal : SIGSTOP 010+ 011+ Testing pcntl_wifstopped and pcntl_wstopsig.... 012+ Process was stoped by signal : SIGSTOPStaring wait.h tests.... 013+ 014+ Testing pcntl_wifexited and wexitstatus.... 015+ Exited With: -1 016+ 017+ Testing pcntl_wifsignaled.... 018+ Process was terminated by signal : SIGTERM 019+ 020+ Testing pcntl_wifstopped and pcntl_wstopsig.... ================================================================================ ================================================================================ /usr/src/php4/ext/pgsql/tests/09notice.phpt ================================================================================ ---- EXPECTED OUTPUT NOTICE: BEGIN: already a transaction in progress NOTICE: BEGIN: already a transaction in progress pg_last_notice() is Ok ---- ACTUAL OUTPUT NOTICE: BEGIN: eine Transaktion is bereits begonnen NOTICE: BEGIN: eine Transaktion is bereits begonnen pg_last_notice() is Ok ---- FAILED ================================================================================ 001- NOTICE: BEGIN: already a transaction in progress 001+ NOTICE: BEGIN: eine Transaktion is bereits begonnen 003- NOTICE: BEGIN: already a transaction in progress 003+ NOTICE: BEGIN: eine Transaktion is bereits begonnen ================================================================================ ================================================================================ /usr/src/php4/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) } } Warning: Session object destruction failed in /usr/src/php4/ext/session/tests/003.php on line 18 ---- FAILED ================================================================================ 009- &object(foo)(2) { 009+ object(foo)(2) { 016+ 017+ Warning: Session object destruction failed in /usr/src/php4/ext/session/tests/003.php on line 18 ================================================================================ ================================================================================ /usr/src/php4/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 Notice: Undefined variable: baz in /usr/src/php4/ext/session/tests/004.php on line 48 Fatal error: Call to a member function method() on a non-object in /usr/src/php4/ext/session/tests/004.php on line 48 ---- FAILED ================================================================================ 001- OPEN: PHPSESSID 001+ Notice: Undefined variable: baz in /usr/src/php4/ext/session/tests/004.php on line 48 002- READ: abtest 002+ 003- object(foo)(2) { 003+ Fatal error: Call to a member function method() on a non-object in /usr/src/php4/ext/session/tests/004.php on line 48 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/src/php4/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 Notice: Undefined variable: baz in /usr/src/php4/ext/session/tests/005.php on line 50 Fatal error: Call to a member function method() on a non-object in /usr/src/php4/ext/session/tests/005.php on line 50 ---- FAILED ================================================================================ 001- OPEN: PHPSESSID 001+ Notice: Undefined variable: baz in /usr/src/php4/ext/session/tests/005.php on line 50 002- READ: abtest 002+ 003- object(foo)(2) { 003+ Fatal error: Call to a member function method() on a non-object in /usr/src/php4/ext/session/tests/005.php on line 50 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/src/php4/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 object destruction failed in /usr/src/php4/ext/session/tests/008-php4.2.3.php on line 6 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) } ---- FAILED ================================================================================ 001- NULL 001+ Warning: Session object destruction failed in /usr/src/php4/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+ NULL 003- array(1) { 003+ 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. 004- ["c"]=> 004+ array(1) { 005- float(3.14) 005+ ["c"]=> 006- } 006+ float(3.14) 007- NULL 007+ } 008- array(1) { 008+ NULL 009- ["c"]=> 009+ array(1) { 010- float(3.14) 010+ ["c"]=> 011- } 011+ float(3.14) 012+ } ================================================================================ ================================================================================ /usr/src/php4/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 object destruction failed in /usr/src/php4/ext/session/tests/009.php on line 8 array(0) { } array(1) { ["name"]=> string(3) "foo" } array(1) { ["name"]=> string(3) "foo" } array(0) { } array(0) { } ---- FAILED ================================================================================ 001- array(0) { 001+ Warning: Session object destruction failed in /usr/src/php4/ext/session/tests/009.php on line 8 002- } 002+ array(0) { 003- array(1) { 003+ } 004- ["name"]=> 004+ array(1) { 005- string(3) "foo" 005+ ["name"]=> 006- } 006+ string(3) "foo" 007- array(1) { 007+ } 008- ["name"]=> 008+ array(1) { 009- string(3) "foo" 009+ ["name"]=> 010- } 010+ string(3) "foo" 011- array(0) { 011+ } 012- } 012+ array(0) { 013- array(0) { 013+ } 014- } 014+ array(0) { 015+ } ================================================================================ ================================================================================ /usr/src/php4/ext/session/tests/013.phpt ================================================================================ ---- EXPECTED OUTPUT I live ---- ACTUAL OUTPUT Warning: Session object destruction failed in /usr/src/php4/ext/session/tests/013.php on line 6 I live ---- FAILED ================================================================================ 001- I live 001+ Warning: Session object destruction failed in /usr/src/php4/ext/session/tests/013.php on line 6 002+ I live ================================================================================ ================================================================================ /usr/src/php4/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?PHPSESSID=5493c88fab671846d7ddc55691b27f07"> <a href="/link?PHPSESSID=5493c88fab671846d7ddc55691b27f07"> <a href="/link?PHPSESSID=5493c88fab671846d7ddc55691b27f07"> Warning: Session object destruction failed in /usr/src/php4/ext/session/tests/014.php on line 18 ---- FAILED ================================================================================ 001- <a href="/link?PHPSESSID=abtest"> 001+ <a href="/link?PHPSESSID=5493c88fab671846d7ddc55691b27f07"> 002- <a href="/link?PHPSESSID=abtest"> 002+ <a href="/link?PHPSESSID=5493c88fab671846d7ddc55691b27f07"> 003- <a href="/link?PHPSESSID=abtest"> 003+ <a href="/link?PHPSESSID=5493c88fab671846d7ddc55691b27f07"> 004+ 005+ Warning: Session object destruction failed in /usr/src/php4/ext/session/tests/014.php on line 18 ================================================================================ ================================================================================ /usr/src/php4/ext/session/tests/015.phpt ================================================================================ ---- EXPECTED OUTPUT <a href="/link?PHPSESSID=abtest&PHPSESSID=abtest"> ---- ACTUAL OUTPUT <a href="/link?PHPSESSID=dcc87f30addeb947859b352c9e87c019&PHPSESSID=dcc87f30addeb947859b352c9e87c019"> Warning: Session object destruction failed in /usr/src/php4/ext/session/tests/015.php on line 9 ---- FAILED ================================================================================ 001- <a href="/link?PHPSESSID=abtest&PHPSESSID=abtest"> 001+ <a href="/link?PHPSESSID=dcc87f30addeb947859b352c9e87c019&PHPSESSID=dcc87f30addeb947859b352c9e87c019"> 002+ 003+ Warning: Session object destruction failed in /usr/src/php4/ext/session/tests/015.php on line 9 ================================================================================ ================================================================================ /usr/src/php4/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><input type="hidden" name="PHPSESSID" value="eee6e0a07c05fd6b98f7acb763fa09e1" /> Warning: Session object destruction failed in /usr/src/php4/ext/session/tests/018.php on line 10 ---- 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><input type="hidden" name="PHPSESSID" value="eee6e0a07c05fd6b98f7acb763fa09e1" /> 002+ 003+ Warning: Session object destruction failed in /usr/src/php4/ext/session/tests/018.php on line 10 ================================================================================ ================================================================================ /usr/src/php4/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 Fatal error: Can't use method return value in write context in /usr/src/php4/ext/session/tests/019.php on line 19 ---- FAILED ================================================================================ 001- array(2) { 001+ Fatal error: Can't use method return value in write context in /usr/src/php4/ext/session/tests/019.php on line 19 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/src/php4/ext/session/tests/020.phpt ================================================================================ ---- EXPECTED OUTPUT <a href="link.php?a=b&amp;PHPSESSID=abtest"> ---- ACTUAL OUTPUT <a href="link.php?a=b&amp;PHPSESSID=4055b6745b9ac4687d82faf8748ad8ce"> Warning: Session object destruction failed in /usr/src/php4/ext/session/tests/020.php on line 10 ---- FAILED ================================================================================ 001- <a href="link.php?a=b&amp;PHPSESSID=abtest"> 001+ <a href="link.php?a=b&amp;PHPSESSID=4055b6745b9ac4687d82faf8748ad8ce"> 002+ 003+ Warning: Session object destruction failed in /usr/src/php4/ext/session/tests/020.php on line 10 ================================================================================ ================================================================================ /usr/src/php4/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><input type="hidden" name="PHPSESSID" value="c0aaafda8b8d77b717e2082307ae4f32" /> <fieldset><input type="hidden" name="PHPSESSID" value="c0aaafda8b8d77b717e2082307ae4f32" /> <form><input type="hidden" name="PHPSESSID" value="c0aaafda8b8d77b717e2082307ae4f32" /> <fieldset> <form><input type="hidden" name="PHPSESSID" value="c0aaafda8b8d77b717e2082307ae4f32" /> <fieldset> <form> <fieldset><input type="hidden" name="PHPSESSID" value="c0aaafda8b8d77b717e2082307ae4f32" /> Warning: Session object destruction failed in /usr/src/php4/ext/session/tests/021.php on line 39 ---- FAILED ================================================================================ 001- <form><input type="hidden" name="PHPSESSID" value="abtest" /> 001+ <form><input type="hidden" name="PHPSESSID" value="c0aaafda8b8d77b717e2082307ae4f32" /> 002- <fieldset><input type="hidden" name="PHPSESSID" value="abtest" /> 002+ <fieldset><input type="hidden" name="PHPSESSID" value="c0aaafda8b8d77b717e2082307ae4f32" /> 003- <form><input type="hidden" name="PHPSESSID" value="abtest" /> 003+ <form><input type="hidden" name="PHPSESSID" value="c0aaafda8b8d77b717e2082307ae4f32" /> 005- <form><input type="hidden" name="PHPSESSID" value="abtest" /> 005+ <form><input type="hidden" name="PHPSESSID" value="c0aaafda8b8d77b717e2082307ae4f32" /> 008- <fieldset><input type="hidden" name="PHPSESSID" value="abtest" /> 008+ <fieldset><input type="hidden" name="PHPSESSID" value="c0aaafda8b8d77b717e2082307ae4f32" /> 009+ 010+ Warning: Session object destruction failed in /usr/src/php4/ext/session/tests/021.php on line 39 ================================================================================ ================================================================================ /usr/src/php4/ext/standard/tests/file/userstreams.phpt ================================================================================ ---- EXPECTED OUTPUT Not Registered Registered Registered SEEK: OK FGETS: OK ---- ACTUAL OUTPUT Not Registered Registered Registered SEEK: OK FGETS: OK Fatal error: Trying to access invalid object in Unknown on line 0 ---- FAILED ================================================================================ 006+ 007+ Fatal error: Trying to access invalid object in Unknown on line 0 ================================================================================ ================================================================================ 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.2 (1.922.2.54 2001/09/11 03:33:37) Compiler: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-112) Bison: bison (GNU Bison) 1.35 Copyright 1984, 1986, 1989, 1992, 2000, 2001, 2002 Free Software Foundation, Inc. Dies ist freie Software; die Kopierbedingungen stehen in den Quellen. Es gibt keine Garantie; auch nicht für VERKAUFBARKEIT oder FÜR SPEZIELLE ZWECKE. ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 4.4.0-dev System => Linux sapvision.tummel.prv 2.4.18-10 #1 Wed Aug 7 10:26:48 EDT 2002 i686 Build Date => Nov 26 2002 11:59:44 Configure Command => './configure' '--with-pgsql' '--disable-overload' '--without-mysql' '--prefix=/usr/local/php5' '--enable-pcntl' '--enable-sockets' '--enable-bcmath' '--enable-dbase' '--enable-dbx' '--enable-ftp' '--enable-dio' '--with-zlib' '--with-bz2' '--with-gmp' '--with-readline' '--enable-embed' '--with-apxs2' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/local/php5/lib/php.ini PHP API => 20020918 PHP Extension => 20020429 Zend Extension => 90021012 Debug Build => no Thread Safety => disabled Registered PHP Streams => php, http, ftp, compress.bzip2, compress.zlib This program makes use of the Zend Scripting Language Engine: Zend Engine v2.0.0-alpha3, Copyright (c) 1998-2002 Zend Technologies _______________________________________________________________________ Configuration PHP Core Directive => Local Value => Master Value allow_call_time_pass_reference => On => On allow_url_fopen => On => On always_populate_raw_post_data => Off => Off arg_separator.input => &amp; => &amp; arg_separator.output => &amp; => &amp; 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 => 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 => no value => no value expose_php => On => On extension_dir => /usr/local/php5/lib/php/extensions/no-debug-non-zts-20020429 => /usr/local/php5/lib/php/extensions/no-debug-non-zts-20020429 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 => .:/usr/local/php5/lib/php => .:/usr/local/php5/lib/php log_errors => Off => Off 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 => -1 => -1 open_basedir => no value => no value output_buffering => 0 => 0 output_handler => no value => no value post_max_size => 8M => 8M precision => 14 => 14 register_argc_argv => On => On register_globals => Off => Off report_memleaks => On => On report_zend_debug => On => On safe_mode => Off => Off safe_mode_exec_dir => 1 => 1 safe_mode_gid => Off => Off safe_mode_include_dir => no value => no value sendmail_from => no value => no value sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i 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 => no value => no value xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => On => On bcmath BCMath support => enabled bz2 BZip2 Support => Enabled BZip2 Version => 1.0.2, 30-Dec-2001 ctype ctype functions => enabled dbx dbx support => enabled dbx version => 1.0.0 supported databases => MySQL ODBC PostgreSQL Microsoft SQL Server FrontBase Oracle 8 (oci8) Sybase-CT Directive => Local Value => Master Value dbx.colnames_case => unchanged => unchanged dio dio support => enabled ftp FTP support => enabled gmp gmp support => enabled pcntl pcntl support => enabled pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 3.92 11-Sep-2002 pgsql PostgreSQL Support => enabled PostgreSQL(libpq) Version => 7.2.2 Multibyte charater 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.51 $ session Session Support => enabled Registered save handlers => files user Directive => Local Value => Master Value session.auto_start => On => On 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.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 => On => On 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,form=,fieldset= => a=href,area=href,frame=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 zlib ZLib Support => enabled Compiled Version => 1.1.3 Linked Version => 1.1.3 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 dbase readline Environment Variable => Value PWD => /usr/src/php4 KONSOLE_DCOP => DCOPRef(konsole-1616,konsole) MAKEFLAGS => GS_LIB => /root/.kde/share/fonts MFLAGS => HOSTNAME => sapvision.tummel.prv LD_LIBRARY_PATH => /opt/tcm/lib REDIRECT_STATUS => TEST_PHP_EXECUTABLE => /usr/src/php4/sapi/cli/php SESSION_MANAGER => local/sapvision.tummel.prv:/tmp/.ICE-unix/1598 PSQL => -h 10.1.4.4 -U postgres tummel QTDIR => /usr/lib/qt3-gcc2.96 KONSOLE_DCOP_SESSION => DCOPRef(konsole-1616,session-19) MANPATH => /usr/local/man:/usr/share/man:/usr/X11R6/man:/usr/java/j2re1.4.0_01/man:/opt/tcm/man:/usr/kerberos/man:/usr/man:/usr/local/ebh-system/man:/opt/tcm/man LESSOPEN => |/usr/bin/lesspipe.sh %s CC => gcc LS_COLORS => no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: USER => root SCRIPT_FILENAME => KDE_MULTIHEAD => false TCM_HOME => /opt/tcm MAIL => /var/spool/mail/root INPUTRC => /etc/inputrc BASH_ENV => /root/.bashrc GTK_RC_FILES => /etc/gtk/gtkrc:/root/.gtkrc:/root/.gtkrc-kde PATH_TRANSLATED => XDM_MANAGED => /var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched XMODIFIERS => @im=none LANG => de_DE@euro QUERY_STRING => CONTENT_LENGTH => JAVA_HOME => /usr/java/j2re1.4.0_01 MAKELEVEL => 1 COLORTERM => DISPLAY => :0.0 SHLVL => 5 SSH_AGENT_PID => 1481 LOGNAME => root _ => /usr/src/php4/sapi/cli/php REQUEST_METHOD => SHELL => /bin/sh USERNAME => root CVSROOT => :pserver:ebh@dmd310.dnsalias.com:/home/cvs TEST_PHP_SRCDIR => /usr/src/php4 HISTSIZE => 1000 TERM => xterm HOME => /root SSH_AUTH_SOCK => /tmp/ssh-XXYNAH6Q/agent.1480 PATH => /usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/java/j2re1.4.0_01:/opt/tcm/bin:/root/bin:/usr/java/j2re1.4.0_01 CONTENT_TYPE => PHP Variables Variable => Value _SERVER["PWD"] => /usr/src/php4 _SERVER["KONSOLE_DCOP"] => DCOPRef(konsole-1616,konsole) _SERVER["MAKEFLAGS"] => _SERVER["GS_LIB"] => /root/.kde/share/fonts _SERVER["MFLAGS"] => _SERVER["HOSTNAME"] => sapvision.tummel.prv _SERVER["LD_LIBRARY_PATH"] => /opt/tcm/lib _SERVER["REDIRECT_STATUS"] => _SERVER["TEST_PHP_EXECUTABLE"] => /usr/src/php4/sapi/cli/php _SERVER["SESSION_MANAGER"] => local/sapvision.tummel.prv:/tmp/.ICE-unix/1598 _SERVER["PSQL"] => -h 10.1.4.4 -U postgres tummel _SERVER["QTDIR"] => /usr/lib/qt3-gcc2.96 _SERVER["KONSOLE_DCOP_SESSION"] => DCOPRef(konsole-1616,session-19) _SERVER["MANPATH"] => /usr/local/man:/usr/share/man:/usr/X11R6/man:/usr/java/j2re1.4.0_01/man:/opt/tcm/man:/usr/kerberos/man:/usr/man:/usr/local/ebh-system/man:/opt/tcm/man _SERVER["LESSOPEN"] => |/usr/bin/lesspipe.sh %s _SERVER["CC"] => gcc _SERVER["LS_COLORS"] => no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: _SERVER["USER"] => root _SERVER["SCRIPT_FILENAME"] => _SERVER["KDE_MULTIHEAD"] => false _SERVER["TCM_HOME"] => /opt/tcm _SERVER["MAIL"] => /var/spool/mail/root _SERVER["INPUTRC"] => /etc/inputrc _SERVER["BASH_ENV"] => /root/.bashrc _SERVER["GTK_RC_FILES"] => /etc/gtk/gtkrc:/root/.gtkrc:/root/.gtkrc-kde _SERVER["PATH_TRANSLATED"] => _SERVER["XDM_MANAGED"] => /var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched _SERVER["XMODIFIERS"] => @im=none _SERVER["LANG"] => de_DE@euro _SERVER["QUERY_STRING"] => _SERVER["CONTENT_LENGTH"] => _SERVER["JAVA_HOME"] => /usr/java/j2re1.4.0_01 _SERVER["MAKELEVEL"] => 1 _SERVER["COLORTERM"] => _SERVER["DISPLAY"] => :0.0 _SERVER["SHLVL"] => 5 _SERVER["SSH_AGENT_PID"] => 1481 _SERVER["LOGNAME"] => root _SERVER["_"] => /usr/src/php4/sapi/cli/php _SERVER["REQUEST_METHOD"] => _SERVER["SHELL"] => /bin/sh _SERVER["USERNAME"] => root _SERVER["CVSROOT"] => :pserver:ebh@dmd310.dnsalias.com:/home/cvs _SERVER["TEST_PHP_SRCDIR"] => /usr/src/php4 _SERVER["HISTSIZE"] => 1000 _SERVER["TERM"] => xterm _SERVER["HOME"] => /root _SERVER["SSH_AUTH_SOCK"] => /tmp/ssh-XXYNAH6Q/agent.1480 _SERVER["PATH"] => /usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/java/j2re1.4.0_01:/opt/tcm/bin:/root/bin:/usr/java/j2re1.4.0_01 _SERVER["CONTENT_TYPE"] => _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["PWD"] => /usr/src/php4 _ENV["KONSOLE_DCOP"] => DCOPRef(konsole-1616,konsole) _ENV["MAKEFLAGS"] => _ENV["GS_LIB"] => /root/.kde/share/fonts _ENV["MFLAGS"] => _ENV["HOSTNAME"] => sapvision.tummel.prv _ENV["LD_LIBRARY_PATH"] => /opt/tcm/lib _ENV["REDIRECT_STATUS"] => _ENV["TEST_PHP_EXECUTABLE"] => /usr/src/php4/sapi/cli/php _ENV["SESSION_MANAGER"] => local/sapvision.tummel.prv:/tmp/.ICE-unix/1598 _ENV["PSQL"] => -h 10.1.4.4 -U postgres tummel _ENV["QTDIR"] => /usr/lib/qt3-gcc2.96 _ENV["KONSOLE_DCOP_SESSION"] => DCOPRef(konsole-1616,session-19) _ENV["MANPATH"] => /usr/local/man:/usr/share/man:/usr/X11R6/man:/usr/java/j2re1.4.0_01/man:/opt/tcm/man:/usr/kerberos/man:/usr/man:/usr/local/ebh-system/man:/opt/tcm/man _ENV["LESSOPEN"] => |/usr/bin/lesspipe.sh %s _ENV["CC"] => gcc _ENV["LS_COLORS"] => no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: _ENV["USER"] => root _ENV["SCRIPT_FILENAME"] => _ENV["KDE_MULTIHEAD"] => false _ENV["TCM_HOME"] => /opt/tcm _ENV["MAIL"] => /var/spool/mail/root _ENV["INPUTRC"] => /etc/inputrc _ENV["BASH_ENV"] => /root/.bashrc _ENV["GTK_RC_FILES"] => /etc/gtk/gtkrc:/root/.gtkrc:/root/.gtkrc-kde _ENV["PATH_TRANSLATED"] => _ENV["XDM_MANAGED"] => /var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched _ENV["XMODIFIERS"] => @im=none _ENV["LANG"] => de_DE@euro _ENV["QUERY_STRING"] => _ENV["CONTENT_LENGTH"] => _ENV["JAVA_HOME"] => /usr/java/j2re1.4.0_01 _ENV["MAKELEVEL"] => 1 _ENV["COLORTERM"] => _ENV["DISPLAY"] => :0.0 _ENV["SHLVL"] => 5 _ENV["SSH_AGENT_PID"] => 1481 _ENV["LOGNAME"] => root _ENV["_"] => /usr/src/php4/sapi/cli/php _ENV["REQUEST_METHOD"] => _ENV["SHELL"] => /bin/sh _ENV["USERNAME"] => root _ENV["CVSROOT"] => :pserver:ebh@dmd310.dnsalias.com:/home/cvs _ENV["TEST_PHP_SRCDIR"] => /usr/src/php4 _ENV["HISTSIZE"] => 1000 _ENV["TERM"] => xterm _ENV["HOME"] => /root _ENV["SSH_AUTH_SOCK"] => /tmp/ssh-XXYNAH6Q/agent.1480 _ENV["PATH"] => /usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/java/j2re1.4.0_01:/opt/tcm/bin:/root/bin:/usr/java/j2re1.4.0_01 _ENV["CONTENT_TYPE"] => PHP License This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.

« previous php.qa (#7019) next »