Test results

From: Date: Fri, 22 Nov 2002 07:58:47 +0000
Subject: Test results
Groups: php.qa 
Request: Send a blank email to php-qa+get-6948@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- 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] An abstrcat function may not be called [tests/classes/abstract.phpt] Static variables in functions [tests/func/002.phpt] General function test [tests/func/003.phpt] General function test [tests/func/004.phpt] Alternative syntaxes test [tests/lang/033.phpt] Bug #20175 (Static vars can't store ref to new instance) [tests/lang/bug20175.phpt] ===================================================================== ================================================================================ /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 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 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 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 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=153e6d669ce4107be7a22b4094a48ad4"> <a href="/link?PHPSESSID=153e6d669ce4107be7a22b4094a48ad4"> <a href="/link?PHPSESSID=153e6d669ce4107be7a22b4094a48ad4"> 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=153e6d669ce4107be7a22b4094a48ad4"> 002- <a href="/link?PHPSESSID=abtest"> 002+ <a href="/link?PHPSESSID=153e6d669ce4107be7a22b4094a48ad4"> 003- <a href="/link?PHPSESSID=abtest"> 003+ <a href="/link?PHPSESSID=153e6d669ce4107be7a22b4094a48ad4"> 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=c300973570fe873451692db61f2d26fe&PHPSESSID=c300973570fe873451692db61f2d26fe"> 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=c300973570fe873451692db61f2d26fe&PHPSESSID=c300973570fe873451692db61f2d26fe"> 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="0d956ee744a92ed5ab15fee04e15a71f" /> 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="0d956ee744a92ed5ab15fee04e15a71f" /> 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=51d9586ab9373e941e35dc20cc72609f"> 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=51d9586ab9373e941e35dc20cc72609f"> 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="a3badf47d33711ebd1002b52eaf07ecb" /> <fieldset><input type="hidden" name="PHPSESSID" value="a3badf47d33711ebd1002b52eaf07ecb" /> <form><input type="hidden" name="PHPSESSID" value="a3badf47d33711ebd1002b52eaf07ecb" /> <fieldset> <form><input type="hidden" name="PHPSESSID" value="a3badf47d33711ebd1002b52eaf07ecb" /> <fieldset> <form> <fieldset><input type="hidden" name="PHPSESSID" value="a3badf47d33711ebd1002b52eaf07ecb" /> 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="a3badf47d33711ebd1002b52eaf07ecb" /> 002- <fieldset><input type="hidden" name="PHPSESSID" value="abtest" /> 002+ <fieldset><input type="hidden" name="PHPSESSID" value="a3badf47d33711ebd1002b52eaf07ecb" /> 003- <form><input type="hidden" name="PHPSESSID" value="abtest" /> 003+ <form><input type="hidden" name="PHPSESSID" value="a3badf47d33711ebd1002b52eaf07ecb" /> 005- <form><input type="hidden" name="PHPSESSID" value="abtest" /> 005+ <form><input type="hidden" name="PHPSESSID" value="a3badf47d33711ebd1002b52eaf07ecb" /> 008- <fieldset><input type="hidden" name="PHPSESSID" value="abtest" /> 008+ <fieldset><input type="hidden" name="PHPSESSID" value="a3badf47d33711ebd1002b52eaf07ecb" /> 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 ================================================================================ ================================================================================ /usr/src/php4/tests/classes/abstract.phpt ================================================================================ ---- EXPECTED OUTPUT Call to function show() Fatal error: Cannot call abstract method show() in %s on line %d ---- ACTUAL OUTPUT Call to function show() Fatal error: Cannot call abstract method fail::show() in /usr/src/php4/tests/classes/abstract.php on line 4 ---- FAILED ================================================================================ 003- Fatal error: Cannot call abstract method show() in %s on line %d 003+ Fatal error: Cannot call abstract method fail::show() in /usr/src/php4/tests/classes/abstract.php on line 4 ================================================================================ ================================================================================ /usr/src/php4/tests/func/002.phpt ================================================================================ ---- EXPECTED OUTPUT hey=0, 0 hey=1, -1 hey=2, -2 ---- ACTUAL OUTPUT Parse error: parse error, unexpected T_STRING in /usr/src/php4/tests/func/002.php on line 2 ---- FAILED ================================================================================ 001- hey=0, 0 001+ Parse error: parse error, unexpected T_STRING in /usr/src/php4/tests/func/002.php on line 2 002- hey=1, -1 003- hey=2, -2 ================================================================================ ================================================================================ /usr/src/php4/tests/func/003.phpt ================================================================================ ---- EXPECTED OUTPUT hey blah hey blah Counting from 7 to 14 7 8 9 10 11 12 13 14 hey factorial(0) = 1 factorial(1) = 1 factorial(2) = 2 factorial(3) = 6 factorial(4) = 24 factorial(5) = 120 factorial(6) = 720 factorial(7) = 5040 factorial(8) = 40320 factorial(9) = 362880 factorial(10) = 3628800 factorial(0) = 1 factorial(1) = 1 factorial(2) = 2 factorial(3) = 6 factorial(4) = 24 factorial(5) = 120 factorial(6) = 720 factorial(7) = 5040 factorial(8) = 40320 factorial(9) = 362880 factorial(10) = 3628800 factorial(0) = 1 factorial(1) = 1 factorial(2) = 2 factorial(3) = 6 factorial(4) = 24 factorial(5) = 120 factorial(6) = 720 factorial(7) = 5040 factorial(8) = 40320 factorial(9) = 362880 factorial(10) = 3628800 factorial(0) = 1 factorial(1) = 1 factorial(2) = 2 factorial(3) = 6 factorial(4) = 24 factorial(5) = 120 factorial(6) = 720 factorial(7) = 5040 factorial(8) = 40320 factorial(9) = 362880 factorial(10) = 3628800 factorial(0) = 1 factorial(1) = 1 factorial(2) = 2 factorial(3) = 6 factorial(4) = 24 factorial(5) = 120 factorial(6) = 720 factorial(7) = 5040 factorial(8) = 40320 factorial(9) = 362880 factorial(10) = 3628800 factorial(0) = 1 factorial(1) = 1 factorial(2) = 2 factorial(3) = 6 factorial(4) = 24 factorial(5) = 120 factorial(6) = 720 factorial(7) = 5040 factorial(8) = 40320 factorial(9) = 362880 factorial(10) = 3628800 factorial(0) = 1 factorial(1) = 1 factorial(2) = 2 factorial(3) = 6 factorial(4) = 24 factorial(5) = 120 factorial(6) = 720 factorial(7) = 5040 factorial(8) = 40320 factorial(9) = 362880 factorial(10) = 3628800 factorial(0) = 1 factorial(1) = 1 factorial(2) = 2 factorial(3) = 6 factorial(4) = 24 factorial(5) = 120 factorial(6) = 720 factorial(7) = 5040 factorial(8) = 40320 factorial(9) = 362880 factorial(10) = 3628800 factorial(0) = 1 factorial(1) = 1 factorial(2) = 2 factorial(3) = 6 factorial(4) = 24 factorial(5) = 120 factorial(6) = 720 factorial(7) = 5040 factorial(8) = 40320 factorial(9) = 362880 factorial(10) = 3628800 factorial(0) = 1 factorial(1) = 1 factorial(2) = 2 factorial(3) = 6 factorial(4) = 24 factorial(5) = 120 factorial(6) = 720 factorial(7) = 5040 factorial(8) = 40320 factorial(9) = 362880 factorial(10) = 3628800 and now, from a function... (it should break at 5...) factorial(0) = 1 factorial(1) = 1 factorial(2) = 2 factorial(3) = 6 factorial(4) = 24 (it should break at 5...) factorial(0) = 1 factorial(1) = 1 factorial(2) = 2 factorial(3) = 6 factorial(4) = 24 (it should break at 5...) factorial(0) = 1 factorial(1) = 1 factorial(2) = 2 factorial(3) = 6 factorial(4) = 24 (it should break at 5...) factorial(0) = 1 factorial(1) = 1 factorial(2) = 2 factorial(3) = 6 factorial(4) = 24 (it should break at 5...) factorial(0) = 1 factorial(1) = 1 factorial(2) = 2 factorial(3) = 6 factorial(4) = 24 (it should break at 5...) factorial(0) = 1 factorial(1) = 1 factorial(2) = 2 factorial(3) = 6 factorial(4) = 24 (it should break at 5...) factorial(0) = 1 factorial(1) = 1 factorial(2) = 2 factorial(3) = 6 factorial(4) = 24 (it should break at 5...) factorial(0) = 1 factorial(1) = 1 factorial(2) = 2 factorial(3) = 6 factorial(4) = 24 (it should break at 5...) factorial(0) = 1 factorial(1) = 1 factorial(2) = 2 factorial(3) = 6 factorial(4) = 24 (it should break at 5...) factorial(0) = 1 factorial(1) = 1 factorial(2) = 2 factorial(3) = 6 factorial(4) = 24 ------ 720 840 3 4 5 ---- ACTUAL OUTPUT Parse error: parse error, unexpected T_STRING in /usr/src/php4/tests/func/003.php on line 3 ---- FAILED ================================================================================ 001- hey 001+ Parse error: parse error, unexpected T_STRING in /usr/src/php4/tests/func/003.php on line 3 002- blah 003- hey 004- blah 005- Counting from 7 to 14 006- 7 007- 8 008- 9 009- 10 010- 11 011- 12 012- 13 013- 14 014- hey 015- factorial(0) = 1 016- factorial(1) = 1 017- factorial(2) = 2 018- factorial(3) = 6 019- factorial(4) = 24 020- factorial(5) = 120 021- factorial(6) = 720 022- factorial(7) = 5040 023- factorial(8) = 40320 024- factorial(9) = 362880 025- factorial(10) = 3628800 026- factorial(0) = 1 027- factorial(1) = 1 028- factorial(2) = 2 029- factorial(3) = 6 030- factorial(4) = 24 031- factorial(5) = 120 032- factorial(6) = 720 033- factorial(7) = 5040 034- factorial(8) = 40320 035- factorial(9) = 362880 036- factorial(10) = 3628800 037- factorial(0) = 1 038- factorial(1) = 1 039- factorial(2) = 2 040- factorial(3) = 6 041- factorial(4) = 24 042- factorial(5) = 120 043- factorial(6) = 720 044- factorial(7) = 5040 045- factorial(8) = 40320 046- factorial(9) = 362880 047- factorial(10) = 3628800 048- factorial(0) = 1 049- factorial(1) = 1 050- factorial(2) = 2 051- factorial(3) = 6 052- factorial(4) = 24 053- factorial(5) = 120 054- factorial(6) = 720 055- factorial(7) = 5040 056- factorial(8) = 40320 057- factorial(9) = 362880 058- factorial(10) = 3628800 059- factorial(0) = 1 060- factorial(1) = 1 061- factorial(2) = 2 062- factorial(3) = 6 063- factorial(4) = 24 064- factorial(5) = 120 065- factorial(6) = 720 066- factorial(7) = 5040 067- factorial(8) = 40320 068- factorial(9) = 362880 069- factorial(10) = 3628800 070- factorial(0) = 1 071- factorial(1) = 1 072- factorial(2) = 2 073- factorial(3) = 6 074- factorial(4) = 24 075- factorial(5) = 120 076- factorial(6) = 720 077- factorial(7) = 5040 078- factorial(8) = 40320 079- factorial(9) = 362880 080- factorial(10) = 3628800 081- factorial(0) = 1 082- factorial(1) = 1 083- factorial(2) = 2 084- factorial(3) = 6 085- factorial(4) = 24 086- factorial(5) = 120 087- factorial(6) = 720 088- factorial(7) = 5040 089- factorial(8) = 40320 090- factorial(9) = 362880 091- factorial(10) = 3628800 092- factorial(0) = 1 093- factorial(1) = 1 094- factorial(2) = 2 095- factorial(3) = 6 096- factorial(4) = 24 097- factorial(5) = 120 098- factorial(6) = 720 099- factorial(7) = 5040 100- factorial(8) = 40320 101- factorial(9) = 362880 102- factorial(10) = 3628800 103- factorial(0) = 1 104- factorial(1) = 1 105- factorial(2) = 2 106- factorial(3) = 6 107- factorial(4) = 24 108- factorial(5) = 120 109- factorial(6) = 720 110- factorial(7) = 5040 111- factorial(8) = 40320 112- factorial(9) = 362880 113- factorial(10) = 3628800 114- factorial(0) = 1 115- factorial(1) = 1 116- factorial(2) = 2 117- factorial(3) = 6 118- factorial(4) = 24 119- factorial(5) = 120 120- factorial(6) = 720 121- factorial(7) = 5040 122- factorial(8) = 40320 123- factorial(9) = 362880 124- factorial(10) = 3628800 125- and now, from a function... 126- (it should break at 5...) 127- factorial(0) = 1 128- factorial(1) = 1 129- factorial(2) = 2 130- factorial(3) = 6 131- factorial(4) = 24 132- (it should break at 5...) 133- factorial(0) = 1 134- factorial(1) = 1 135- factorial(2) = 2 136- factorial(3) = 6 137- factorial(4) = 24 138- (it should break at 5...) 139- factorial(0) = 1 140- factorial(1) = 1 141- factorial(2) = 2 142- factorial(3) = 6 143- factorial(4) = 24 144- (it should break at 5...) 145- factorial(0) = 1 146- factorial(1) = 1 147- factorial(2) = 2 148- factorial(3) = 6 149- factorial(4) = 24 150- (it should break at 5...) 151- factorial(0) = 1 152- factorial(1) = 1 153- factorial(2) = 2 154- factorial(3) = 6 155- factorial(4) = 24 156- (it should break at 5...) 157- factorial(0) = 1 158- factorial(1) = 1 159- factorial(2) = 2 160- factorial(3) = 6 161- factorial(4) = 24 162- (it should break at 5...) 163- factorial(0) = 1 164- factorial(1) = 1 165- factorial(2) = 2 166- factorial(3) = 6 167- factorial(4) = 24 168- (it should break at 5...) 169- factorial(0) = 1 170- factorial(1) = 1 171- factorial(2) = 2 172- factorial(3) = 6 173- factorial(4) = 24 174- (it should break at 5...) 175- factorial(0) = 1 176- factorial(1) = 1 177- factorial(2) = 2 178- factorial(3) = 6 179- factorial(4) = 24 180- (it should break at 5...) 181- factorial(0) = 1 182- factorial(1) = 1 183- factorial(2) = 2 184- factorial(3) = 6 185- factorial(4) = 24 186- ------ 187- 720 188- 840 189- 3 190- 4 191- 5 ================================================================================ ================================================================================ /usr/src/php4/tests/func/004.phpt ================================================================================ ---- EXPECTED OUTPUT Before function declaration... After function declaration... Calling function for the first time... ---- In function, printing the string "This works!" 10 times 0) This works! 1) This works! 2) This works! 3) This works! 4) This works! 5) This works! 6) This works! 7) This works! 8) This works! 9) This works! Done with function... ----- Returned from function call... Calling the function for the second time... ---- In function, printing the string "This like, really works and stuff..." 3 times 0) This like, really works and stuff... 1) This like, really works and stuff... 2) This like, really works and stuff... Done with function... ----- Returned from function call... This is some other function, to ensure more than just one function works fine... ---- ACTUAL OUTPUT Parse error: parse error, unexpected T_STRING in /usr/src/php4/tests/func/004.php on line 5 ---- FAILED ================================================================================ 001- Before function declaration... 001+ Parse error: parse error, unexpected T_STRING in /usr/src/php4/tests/func/004.php on line 5 002- After function declaration... 003- Calling function for the first time... 004- ---- 005- In function, printing the string "This works!" 10 times 006- 0) This works! 007- 1) This works! 008- 2) This works! 009- 3) This works! 010- 4) This works! 011- 5) This works! 012- 6) This works! 013- 7) This works! 014- 8) This works! 015- 9) This works! 016- Done with function... 017- ----- 018- Returned from function call... 019- Calling the function for the second time... 020- ---- 021- In function, printing the string "This like, really works and stuff..." 3 times 022- 0) This like, really works and stuff... 023- 1) This like, really works and stuff... 024- 2) This like, really works and stuff... 025- Done with function... 026- ----- 027- Returned from function call... 028- This is some other function, to ensure more than just one function works fine... ================================================================================ ================================================================================ /usr/src/php4/tests/lang/033.phpt ================================================================================ ---- EXPECTED OUTPUT If: 11 While: 12346789 For: 0123401234 Switch: 1 old_function: foo(1, 2); ---- ACTUAL OUTPUT Parse error: parse error, unexpected T_STRING in /usr/src/php4/tests/lang/033.php on line 38 ---- FAILED ================================================================================ 001- If: 11 001+ Parse error: parse error, unexpected T_STRING in /usr/src/php4/tests/lang/033.php on line 38 002- While: 12346789 003- For: 0123401234 004- Switch: 1 005- old_function: foo(1, 2); ================================================================================ ================================================================================ /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 ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: Linux Automake: automake (GNU automake) 1.6.3 Written by Tom Tromey <tromey@redhat.com>. 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. Autoconf: autoconf (GNU Autoconf) 2.53 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.2 (1.922.2.54 2001/09/11 03:33:37) Compiler: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --host=i386-redhat-linux --with-system-zlib --enable-__cxa_atexit Thread model: posix gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7) 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 app-server.inter-data.prv 2.4.18-17.8.0smp-appserver #1 SMP Die Okt 22 09:48:23 CEST 2002 i686 Build Date => Nov 22 2002 07:39:31 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 => Off 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 => enabled 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 => 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,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.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 dbase readline Environment Variable => Value HOSTNAME => app-server.inter-data.prv TEST_PHP_SRCDIR => /usr/src/php4 TERM => xterm SHELL => /bin/sh HISTSIZE => 1000 MAKEFLAGS => QTDIR => /usr/lib/qt3-gcc3.2 USER => root LS_COLORS => no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35: SCRIPT_FILENAME => /usr/src/php4/tests/strings/004.php USERNAME => root MAKELEVEL => 1 MFLAGS => PATH => /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin MAIL => /var/spool/mail/root _ => /usr/src/php4/sapi/cli/php PWD => /usr/src/php4 INPUTRC => /etc/inputrc LANG => de_DE TEST_PHP_EXECUTABLE => /usr/src/php4/sapi/cli/php REDIRECT_STATUS => 1 PATH_TRANSLATED => /usr/src/php4/tests/strings/004.php SSH_ASKPASS => /usr/libexec/openssh/gnome-ssh-askpass HOME => /root SHLVL => 3 CONTENT_LENGTH => BASH_ENV => /root/.bashrc LOGNAME => root QUERY_STRING => LESSOPEN => |/usr/bin/lesspipe.sh %s CONTENT_TYPE => DISPLAY => station-10:0 CC => gcc REQUEST_METHOD => GET G_BROKEN_FILENAMES => 1 XAUTHORITY => /root/.xauthbUesYi PHP Variables Variable => Value _SERVER["HOSTNAME"] => app-server.inter-data.prv _SERVER["TEST_PHP_SRCDIR"] => /usr/src/php4 _SERVER["TERM"] => xterm _SERVER["SHELL"] => /bin/sh _SERVER["HISTSIZE"] => 1000 _SERVER["MAKEFLAGS"] => _SERVER["QTDIR"] => /usr/lib/qt3-gcc3.2 _SERVER["USER"] => root _SERVER["LS_COLORS"] => no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35: _SERVER["SCRIPT_FILENAME"] => _SERVER["USERNAME"] => root _SERVER["MAKELEVEL"] => 1 _SERVER["MFLAGS"] => _SERVER["PATH"] => /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin _SERVER["MAIL"] => /var/spool/mail/root _SERVER["_"] => /usr/src/php4/sapi/cli/php _SERVER["PWD"] => /usr/src/php4 _SERVER["INPUTRC"] => /etc/inputrc _SERVER["LANG"] => de_DE _SERVER["TEST_PHP_EXECUTABLE"] => /usr/src/php4/sapi/cli/php _SERVER["REDIRECT_STATUS"] => 1 _SERVER["PATH_TRANSLATED"] => _SERVER["SSH_ASKPASS"] => /usr/libexec/openssh/gnome-ssh-askpass _SERVER["HOME"] => /root _SERVER["SHLVL"] => 3 _SERVER["CONTENT_LENGTH"] => _SERVER["BASH_ENV"] => /root/.bashrc _SERVER["LOGNAME"] => root _SERVER["QUERY_STRING"] => _SERVER["LESSOPEN"] => |/usr/bin/lesspipe.sh %s _SERVER["CONTENT_TYPE"] => _SERVER["DISPLAY"] => station-10:0 _SERVER["CC"] => gcc _SERVER["REQUEST_METHOD"] => GET _SERVER["G_BROKEN_FILENAMES"] => 1 _SERVER["XAUTHORITY"] => /root/.xauthbUesYi _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["HOSTNAME"] => app-server.inter-data.prv _ENV["TEST_PHP_SRCDIR"] => /usr/src/php4 _ENV["TERM"] => xterm _ENV["SHELL"] => /bin/sh _ENV["HISTSIZE"] => 1000 _ENV["MAKEFLAGS"] => _ENV["QTDIR"] => /usr/lib/qt3-gcc3.2 _ENV["USER"] => root _ENV["LS_COLORS"] => no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35: _ENV["SCRIPT_FILENAME"] => /usr/src/php4/tests/strings/004.php _ENV["USERNAME"] => root _ENV["MAKELEVEL"] => 1 _ENV["MFLAGS"] => _ENV["PATH"] => /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin _ENV["MAIL"] => /var/spool/mail/root _ENV["_"] => /usr/src/php4/sapi/cli/php _ENV["PWD"] => /usr/src/php4 _ENV["INPUTRC"] => /etc/inputrc _ENV["LANG"] => de_DE _ENV["TEST_PHP_EXECUTABLE"] => /usr/src/php4/sapi/cli/php _ENV["REDIRECT_STATUS"] => 1 _ENV["PATH_TRANSLATED"] => /usr/src/php4/tests/strings/004.php _ENV["SSH_ASKPASS"] => /usr/libexec/openssh/gnome-ssh-askpass _ENV["HOME"] => /root _ENV["SHLVL"] => 3 _ENV["CONTENT_LENGTH"] => _ENV["BASH_ENV"] => /root/.bashrc _ENV["LOGNAME"] => root _ENV["QUERY_STRING"] => _ENV["LESSOPEN"] => |/usr/bin/lesspipe.sh %s _ENV["CONTENT_TYPE"] => _ENV["DISPLAY"] => station-10:0 _ENV["CC"] => gcc _ENV["REQUEST_METHOD"] => GET _ENV["G_BROKEN_FILENAMES"] => 1 _ENV["XAUTHORITY"] => /root/.xauthbUesYi 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 (#6948) next »