Test results for 5.0.0b2-dev [failed]

From: Date: Sun, 20 Jul 2003 12:04:22 +0000
Subject: Test results for 5.0.0b2-dev [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-15384@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #24658 (combo of typehint / reference causes crash) [tests/lang/bug24658.phpt] Bug #24436: isset()/empty() produce errors with non-existent variables in classes [Zend/tests/bug24436.phpt] session object deserialization [ext/session/tests/003.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] 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] Bug #24063 (serialize() missing 0 after the . on scientific notation) [ext/standard/tests/serialize/bug24063.phpt] XML parser test, function callbacks [ext/xml/tests/xml001.phpt] XML parser test, object tuple callbacks [ext/xml/tests/xml002.phpt] XML parser test, xml_set_object callbacks [ext/xml/tests/xml003.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 71 Exts tested : 12 --------------------------------------------------------------------- Number of tests : 714 Tests skipped : 280 (39.2%) Tests warned : 0 ( 0.0%) Tests failed : 19 ( 2.7%) Tests passed : 415 (58.1%) --------------------------------------------------------------------- Time taken : 51 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #24658 (combo of typehint / reference causes crash) [tests/lang/bug24658.phpt] Bug #24436: isset()/empty() produce errors with non-existent variables in classes [Zend/tests/bug24436.phpt] session object deserialization [ext/session/tests/003.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] 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] Bug #24063 (serialize() missing 0 after the . on scientific notation) [ext/standard/tests/serialize/bug24063.phpt] XML parser test, function callbacks [ext/xml/tests/xml001.phpt] XML parser test, object tuple callbacks [ext/xml/tests/xml002.phpt] XML parser test, xml_set_object callbacks [ext/xml/tests/xml003.phpt] ===================================================================== ================================================================================ /home/eero/php5snap/php5-200307201130/tests/lang/bug24658.phpt ================================================================================ ---- EXPECTED OUTPUT object(foo)#%d (0) { } object(foo)#%d (0) { } object(foo)#%d (0) { } object(foo)#%d (0) { } object(foo)#%d (0) { } int(1) int(2) object(foo)#%d (0) { } int(1) int(2) Fatal error: Argument 1 must be an instance of foo in %s on line %d ---- ACTUAL OUTPUT object(foo)#1 (0) { } object(foo)#1 (0) { } object(foo)#1 (0) { } ---- FAILED ================================================================================ 001- object(foo)#%d (0) { 001+ object(foo)#1 (0) { 003- object(foo)#%d (0) { 003+ object(foo)#1 (0) { 005- object(foo)#%d (0) { 005+ object(foo)#1 (0) { 007- object(foo)#%d (0) { 008- } 009- object(foo)#%d (0) { 010- } 011- int(1) 012- int(2) 013- object(foo)#%d (0) { 014- } 015- int(1) 016- int(2) 017- 018- Fatal error: Argument 1 must be an instance of foo in %s on line %d ================================================================================ ================================================================================ /home/eero/php5snap/php5-200307201130/Zend/tests/bug24436.phpt ================================================================================ ---- EXPECTED OUTPUT Notice: Undefined property: test::$test in /home/derick/bug24436.php on line 11test1 Notice: Undefined property: test::$test in /home/derick/bug24436.php on line 12test2 test1 test2 ---- ACTUAL OUTPUT test1 test2 test1 test2 ---- FAILED ================================================================================ 001- Notice: Undefined property: test::$test in /home/derick/bug24436.php on line 11test1 001+ test1 002- 002+ test2 003- Notice: Undefined property: test::$test in /home/derick/bug24436.php on line 12test2 003+ test1 004- test1 004+ test2 005- test2 ================================================================================ ================================================================================ /home/eero/php5snap/php5-200307201130/ext/session/tests/003.phpt ================================================================================ ---- EXPECTED OUTPUT object(foo)#1 (2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> object(foo)#2 (2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } } ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- object(foo)#1 (2) { 001+ 002- ["bar"]=> 003- string(2) "ok" 004- ["yes"]=> 005- int(2) 006- } 007- array(1) { 008- [3]=> 009- object(foo)#2 (2) { 010- ["bar"]=> 011- string(2) "ok" 012- ["yes"]=> 013- int(2) 014- } 015- } ================================================================================ ================================================================================ /home/eero/php5snap/php5-200307201130/ext/session/tests/006.phpt ================================================================================ ---- EXPECTED OUTPUT original values: object(a)#%d (1) { ["test"]=> string(5) "hallo" } object(b)#%d (1) { ["a"]=> &object(a)#%d (1) { ["test"]=> string(5) "hallo" } } values after session: object(a)#%d (1) { ["test"]=> string(5) "hallo" } object(b)#%d (1) { ["a"]=> &object(a)#%d (1) { ["test"]=> string(5) "hallo" } } ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- original values: 001+ 002- object(a)#%d (1) { 003- ["test"]=> 004- string(5) "hallo" 005- } 006- object(b)#%d (1) { 007- ["a"]=> 008- &object(a)#%d (1) { 009- ["test"]=> 010- string(5) "hallo" 011- } 012- } 013- values after session: 014- object(a)#%d (1) { 015- ["test"]=> 016- string(5) "hallo" 017- } 018- object(b)#%d (1) { 019- ["a"]=> 020- &object(a)#%d (1) { 021- ["test"]=> 022- string(5) "hallo" 023- } 024- } ================================================================================ ================================================================================ /home/eero/php5snap/php5-200307201130/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 ---- FAILED ================================================================================ 001- float(3.14) 001+ 002- array(1) { 003- ["c"]=> 004- &float(3.14) 005- } 006- float(3.14) 007- array(1) { 008- ["c"]=> 009- &float(3.14) 010- } ================================================================================ ================================================================================ /home/eero/php5snap/php5-200307201130/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 ---- FAILED ================================================================================ 001- NULL 001+ 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. 003- array(1) { 004- ["c"]=> 005- float(3.14) 006- } 007- NULL 008- array(1) { 009- ["c"]=> 010- float(3.14) 011- } ================================================================================ ================================================================================ /home/eero/php5snap/php5-200307201130/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 ---- FAILED ================================================================================ 001- array(0) { 001+ 002- } 003- array(1) { 004- ["name"]=> 005- string(3) "foo" 006- } 007- array(1) { 008- ["name"]=> 009- string(3) "foo" 010- } 011- array(0) { 012- } 013- array(0) { 014- } ================================================================================ ================================================================================ /home/eero/php5snap/php5-200307201130/ext/session/tests/012.phpt ================================================================================ ---- EXPECTED OUTPUT I live ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- I live 001+ ================================================================================ ================================================================================ /home/eero/php5snap/php5-200307201130/ext/session/tests/013.phpt ================================================================================ ---- EXPECTED OUTPUT I live ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- I live 001+ ================================================================================ ================================================================================ /home/eero/php5snap/php5-200307201130/ext/session/tests/014.phpt ================================================================================ ---- EXPECTED OUTPUT <a href="/link?PHPSESSID=abtest"> <a href="/link?PHPSESSID=abtest"> <a href="/link?PHPSESSID=abtest"> ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- <a href="/link?PHPSESSID=abtest"> 001+ 002- <a href="/link?PHPSESSID=abtest"> 003- <a href="/link?PHPSESSID=abtest"> ================================================================================ ================================================================================ /home/eero/php5snap/php5-200307201130/ext/session/tests/015.phpt ================================================================================ ---- EXPECTED OUTPUT <a href="/link?PHPSESSID=abtest&PHPSESSID=abtest"> ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- <a href="/link?PHPSESSID=abtest&PHPSESSID=abtest"> 001+ ================================================================================ ================================================================================ /home/eero/php5snap/php5-200307201130/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 ---- FAILED ================================================================================ 001- <form accept-charset="ISO-8859-15, ISO-8859-1" action=url.php><input type="hidden" name="PHPSESSID" value="abtest" /> 001+ ================================================================================ ================================================================================ /home/eero/php5snap/php5-200307201130/ext/session/tests/019.phpt ================================================================================ ---- EXPECTED OUTPUT array(2) { ["o1"]=> &object(tfoo)#1 (1) { ["c"]=> int(42) } ["o2"]=> &object(tfoo)#1 (1) { ["c"]=> int(42) } } array(2) { ["o1"]=> &object(tfoo)#1 (1) { ["c"]=> int(44) } ["o2"]=> &object(tfoo)#1 (1) { ["c"]=> int(44) } } ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- array(2) { 001+ 002- ["o1"]=> 003- &object(tfoo)#1 (1) { 004- ["c"]=> 005- int(42) 006- } 007- ["o2"]=> 008- &object(tfoo)#1 (1) { 009- ["c"]=> 010- int(42) 011- } 012- } 013- array(2) { 014- ["o1"]=> 015- &object(tfoo)#1 (1) { 016- ["c"]=> 017- int(44) 018- } 019- ["o2"]=> 020- &object(tfoo)#1 (1) { 021- ["c"]=> 022- int(44) 023- } 024- } ================================================================================ ================================================================================ /home/eero/php5snap/php5-200307201130/ext/session/tests/020.phpt ================================================================================ ---- EXPECTED OUTPUT <a href="link.php?a=b&amp;PHPSESSID=abtest"> ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- <a href="link.php?a=b&amp;PHPSESSID=abtest"> 001+ ================================================================================ ================================================================================ /home/eero/php5snap/php5-200307201130/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 ---- FAILED ================================================================================ 001- <form><input type="hidden" name="PHPSESSID" value="abtest" /> 001+ 002- <fieldset><input type="hidden" name="PHPSESSID" value="abtest" /> 003- <form><input type="hidden" name="PHPSESSID" value="abtest" /> 004- <fieldset> 005- <form><input type="hidden" name="PHPSESSID" value="abtest" /> 006- <fieldset> 007- <form> 008- <fieldset><input type="hidden" name="PHPSESSID" value="abtest" /> ================================================================================ ================================================================================ /home/eero/php5snap/php5-200307201130/ext/standard/tests/serialize/bug24063.phpt ================================================================================ ---- EXPECTED OUTPUT string(9) "d:1.0E-6;" float(1.0E-6) ---- ACTUAL OUTPUT Notice: unserialize(): Error at offset 0 of 9 bytes in /home/eero/php5snap/php5-200307201130/ext/standard/tests/serialize/bug24063.php on line 4 string(9) "d::.0E-7;" bool(false) ---- FAILED ================================================================================ 001- string(9) "d:1.0E-6;" 001+ Notice: unserialize(): Error at offset 0 of 9 bytes in /home/eero/php5snap/php5-200307201130/ext/standard/tests/serialize/bug24063.php on line 4 002- float(1.0E-6) 002+ string(9) "d::.0E-7;" 003+ bool(false) ================================================================================ ================================================================================ /home/eero/php5snap/php5-200307201130/ext/xml/tests/xml001.phpt ================================================================================ ---- EXPECTED OUTPUT {?[<?xml version="1.0" encoding="ISO-8859-1"?>]}{?[ ]}{?[<!DOCTYPE]}{?[ ]}{?[phptest]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["notfound.dtd"]}{?[ ]}{?[[]}{?[ ]}{?[<!ENTITY]}{?[ ]}{?[%]}{?[ ]}{?[incent]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["inc.ent"]}{?[>]}{?[ ]}{?[%incent;]}{?[ ]}{?[]]}{?[>]}{?[ ]}{ROOT ID="elem1"}{CDATA[ ]}{CDATA[ Plain text.]}{CDATA[ ]}{CDATA[ ]}{ELEM1}{CDATA[ ]}{CDATA[ ]}{?[<!-- comment -->]}{CDATA[ ]}{CDATA[ ]}{ELEM2}{CDATA[ ]}{CDATA[ ]}{?[<![CDATA[]}{CDATA[CDATA block]}{?[]]>]}{CDATA[ ]}{CDATA[ ]}{ELEM3}{CDATA[ ]}{CDATA[ ]}{ENTREF[&included-entity;]}{CDATA[ ]}{CDATA[ ]}{ELEM4}{CDATA[ ]}{CDATA[ ]}{PI[test,processing instruction ]}{CDATA[ ]}{CDATA[ ]}{/ELEM4}{CDATA[ ]}{CDATA[ ]}{/ELEM3}{CDATA[ ]}{CDATA[ ]}{/ELEM2}{CDATA[ ]}{CDATA[ ]}{/ELEM1}{CDATA[ ]}{/ROOT}{?[ ]}parse complete ---- ACTUAL OUTPUT {EXTENTREF[incent,,,inc.ent]} {ROOT ID="elem1"}{CDATA[ Plain text. ]}{ELEM1}{CDATA[ ]}{?[<-- comment -->]}{CDATA[ ]}{ELEM2}{CDATA[ ]}{CDATA[CDATA block]}{CDATA[ ]}{ELEM3}{CDATA[ ]}{ENTREF[&included-entity;]}{CDATA[ ]}{ELEM4}{CDATA[ ]}{PI[test,processing instruction ]}{CDATA[ ]}{/ELEM4}{CDATA[ ]}{/ELEM3}{CDATA[ ]}{/ELEM2}{CDATA[ ]}{/ELEM1}{CDATA[ ]}{/ROOT}XML error: Undeclared entity warning at line 21 ---- FAILED ================================================================================ 001- {?[<?xml version="1.0" encoding="ISO-8859-1"?>]}{?[ 001+ {EXTENTREF[incent,,,inc.ent]} 002- ]}{?[<!DOCTYPE]}{?[ ]}{?[phptest]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["notfound.dtd"]}{?[ ]}{?[[]}{?[ 002+ {ROOT ID="elem1"}{CDATA[ 003- ]}{?[<!ENTITY]}{?[ ]}{?[%]}{?[ ]}{?[incent]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["inc.ent"]}{?[>]}{?[ 003+ Plain text. 004- ]}{?[%incent;]}{?[ 004+ ]}{ELEM1}{CDATA[ 005- ]}{?[]]}{?[>]}{?[ 005+ ]}{?[<-- comment -->]}{CDATA[ 006- ]}{ROOT ID="elem1"}{CDATA[ 006+ ]}{ELEM2}{CDATA[ 007- ]}{CDATA[ Plain text.]}{CDATA[ 007+ ]}{CDATA[CDATA block]}{CDATA[ 008- ]}{CDATA[ ]}{ELEM1}{CDATA[ 008+ ]}{ELEM3}{CDATA[ 009- ]}{CDATA[ ]}{?[<!-- comment -->]}{CDATA[ 009+ ]}{ENTREF[&included-entity;]}{CDATA[ 010- ]}{CDATA[ ]}{ELEM2}{CDATA[ 010+ ]}{ELEM4}{CDATA[ 011- ]}{CDATA[ ]}{?[<![CDATA[]}{CDATA[CDATA block]}{?[]]>]}{CDATA[ 011+ ]}{PI[test,processing instruction ]}{CDATA[ 012- ]}{CDATA[ ]}{ELEM3}{CDATA[ 012+ ]}{/ELEM4}{CDATA[ 013- ]}{CDATA[ ]}{ENTREF[&included-entity;]}{CDATA[ 013+ ]}{/ELEM3}{CDATA[ 014- ]}{CDATA[ ]}{ELEM4}{CDATA[ 014+ ]}{/ELEM2}{CDATA[ 015- ]}{CDATA[ ]}{PI[test,processing instruction ]}{CDATA[ 015+ ]}{/ELEM1}{CDATA[ 016- ]}{CDATA[ ]}{/ELEM4}{CDATA[ 016+ ]}{/ROOT}XML error: Undeclared entity warning at line 21 017- ]}{CDATA[ ]}{/ELEM3}{CDATA[ 018- ]}{CDATA[ ]}{/ELEM2}{CDATA[ 019- ]}{CDATA[ ]}{/ELEM1}{CDATA[ 020- ]}{/ROOT}{?[ 021- ]}parse complete ================================================================================ ================================================================================ /home/eero/php5snap/php5-200307201130/ext/xml/tests/xml002.phpt ================================================================================ ---- EXPECTED OUTPUT {?[<?xml version="1.0" encoding="ISO-8859-1"?>]}{?[ ]}{?[<!DOCTYPE]}{?[ ]}{?[phptest]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["notfound.dtd"]}{?[ ]}{?[[]}{?[ ]}{?[<!ENTITY]}{?[ ]}{?[%]}{?[ ]}{?[incent]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["inc.ent"]}{?[>]}{?[ ]}{?[%incent;]}{?[ ]}{?[]]}{?[>]}{?[ ]}{ROOT ID="elem1"}{CDATA[ ]}{CDATA[ Plain text.]}{CDATA[ ]}{CDATA[ ]}{ELEM1}{CDATA[ ]}{CDATA[ ]}{?[<!-- comment -->]}{CDATA[ ]}{CDATA[ ]}{ELEM2}{CDATA[ ]}{CDATA[ ]}{?[<![CDATA[]}{CDATA[CDATA block]}{?[]]>]}{CDATA[ ]}{CDATA[ ]}{ELEM3}{CDATA[ ]}{CDATA[ ]}{ENTREF[&included-entity;]}{CDATA[ ]}{CDATA[ ]}{ELEM4}{CDATA[ ]}{CDATA[ ]}{PI[test,processing instruction ]}{CDATA[ ]}{CDATA[ ]}{/ELEM4}{CDATA[ ]}{CDATA[ ]}{/ELEM3}{CDATA[ ]}{CDATA[ ]}{/ELEM2}{CDATA[ ]}{CDATA[ ]}{/ELEM1}{CDATA[ ]}{/ROOT}{?[ ]}parse complete ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- {?[<?xml version="1.0" encoding="ISO-8859-1"?>]}{?[ 001+ 002- ]}{?[<!DOCTYPE]}{?[ ]}{?[phptest]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["notfound.dtd"]}{?[ ]}{?[[]}{?[ 003- ]}{?[<!ENTITY]}{?[ ]}{?[%]}{?[ ]}{?[incent]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["inc.ent"]}{?[>]}{?[ 004- ]}{?[%incent;]}{?[ 005- ]}{?[]]}{?[>]}{?[ 006- ]}{ROOT ID="elem1"}{CDATA[ 007- ]}{CDATA[ Plain text.]}{CDATA[ 008- ]}{CDATA[ ]}{ELEM1}{CDATA[ 009- ]}{CDATA[ ]}{?[<!-- comment -->]}{CDATA[ 010- ]}{CDATA[ ]}{ELEM2}{CDATA[ 011- ]}{CDATA[ ]}{?[<![CDATA[]}{CDATA[CDATA block]}{?[]]>]}{CDATA[ 012- ]}{CDATA[ ]}{ELEM3}{CDATA[ 013- ]}{CDATA[ ]}{ENTREF[&included-entity;]}{CDATA[ 014- ]}{CDATA[ ]}{ELEM4}{CDATA[ 015- ]}{CDATA[ ]}{PI[test,processing instruction ]}{CDATA[ 016- ]}{CDATA[ ]}{/ELEM4}{CDATA[ 017- ]}{CDATA[ ]}{/ELEM3}{CDATA[ 018- ]}{CDATA[ ]}{/ELEM2}{CDATA[ 019- ]}{CDATA[ ]}{/ELEM1}{CDATA[ 020- ]}{/ROOT}{?[ 021- ]}parse complete ================================================================================ ================================================================================ /home/eero/php5snap/php5-200307201130/ext/xml/tests/xml003.phpt ================================================================================ ---- EXPECTED OUTPUT {?[<?xml version="1.0" encoding="ISO-8859-1"?>]}{?[ ]}{?[<!DOCTYPE]}{?[ ]}{?[phptest]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["notfound.dtd"]}{?[ ]}{?[[]}{?[ ]}{?[<!ENTITY]}{?[ ]}{?[%]}{?[ ]}{?[incent]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["inc.ent"]}{?[>]}{?[ ]}{?[%incent;]}{?[ ]}{?[]]}{?[>]}{?[ ]}{ROOT ID="elem1"}{CDATA[ ]}{CDATA[ Plain text.]}{CDATA[ ]}{CDATA[ ]}{ELEM1}{CDATA[ ]}{CDATA[ ]}{?[<!-- comment -->]}{CDATA[ ]}{CDATA[ ]}{ELEM2}{CDATA[ ]}{CDATA[ ]}{?[<![CDATA[]}{CDATA[CDATA block]}{?[]]>]}{CDATA[ ]}{CDATA[ ]}{ELEM3}{CDATA[ ]}{CDATA[ ]}{ENTREF[&included-entity;]}{CDATA[ ]}{CDATA[ ]}{ELEM4}{CDATA[ ]}{CDATA[ ]}{PI[test,processing instruction ]}{CDATA[ ]}{CDATA[ ]}{/ELEM4}{CDATA[ ]}{CDATA[ ]}{/ELEM3}{CDATA[ ]}{CDATA[ ]}{/ELEM2}{CDATA[ ]}{CDATA[ ]}{/ELEM1}{CDATA[ ]}{/ROOT}{?[ ]}parse complete ---- ACTUAL OUTPUT {EXTENTREF[incent,,,inc.ent]} {ROOT ID="elem1"}{CDATA[ Plain text. ]}{ELEM1}{CDATA[ ]}{?[<-- comment -->]}{CDATA[ ]}{ELEM2}{CDATA[ ]}{CDATA[CDATA block]}{CDATA[ ]}{ELEM3}{CDATA[ ]}{ENTREF[&included-entity;]}{CDATA[ ]}{ELEM4}{CDATA[ ]}{PI[test,processing instruction ]}{CDATA[ ]}{/ELEM4}{CDATA[ ]}{/ELEM3}{CDATA[ ]}{/ELEM2}{CDATA[ ]}{/ELEM1}{CDATA[ ]}{/ROOT}XML error: Undeclared entity warning at line 21 ---- FAILED ================================================================================ 001- {?[<?xml version="1.0" encoding="ISO-8859-1"?>]}{?[ 001+ {EXTENTREF[incent,,,inc.ent]} 002- ]}{?[<!DOCTYPE]}{?[ ]}{?[phptest]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["notfound.dtd"]}{?[ ]}{?[[]}{?[ 002+ {ROOT ID="elem1"}{CDATA[ 003- ]}{?[<!ENTITY]}{?[ ]}{?[%]}{?[ ]}{?[incent]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["inc.ent"]}{?[>]}{?[ 003+ Plain text. 004- ]}{?[%incent;]}{?[ 004+ ]}{ELEM1}{CDATA[ 005- ]}{?[]]}{?[>]}{?[ 005+ ]}{?[<-- comment -->]}{CDATA[ 006- ]}{ROOT ID="elem1"}{CDATA[ 006+ ]}{ELEM2}{CDATA[ 007- ]}{CDATA[ Plain text.]}{CDATA[ 007+ ]}{CDATA[CDATA block]}{CDATA[ 008- ]}{CDATA[ ]}{ELEM1}{CDATA[ 008+ ]}{ELEM3}{CDATA[ 009- ]}{CDATA[ ]}{?[<!-- comment -->]}{CDATA[ 009+ ]}{ENTREF[&included-entity;]}{CDATA[ 010- ]}{CDATA[ ]}{ELEM2}{CDATA[ 010+ ]}{ELEM4}{CDATA[ 011- ]}{CDATA[ ]}{?[<![CDATA[]}{CDATA[CDATA block]}{?[]]>]}{CDATA[ 011+ ]}{PI[test,processing instruction ]}{CDATA[ 012- ]}{CDATA[ ]}{ELEM3}{CDATA[ 012+ ]}{/ELEM4}{CDATA[ 013- ]}{CDATA[ ]}{ENTREF[&included-entity;]}{CDATA[ 013+ ]}{/ELEM3}{CDATA[ 014- ]}{CDATA[ ]}{ELEM4}{CDATA[ 014+ ]}{/ELEM2}{CDATA[ 015- ]}{CDATA[ ]}{PI[test,processing instruction ]}{CDATA[ 015+ ]}{/ELEM1}{CDATA[ 016- ]}{CDATA[ ]}{/ELEM4}{CDATA[ 016+ ]}{/ROOT}XML error: Undeclared entity warning at line 21 017- ]}{CDATA[ ]}{/ELEM3}{CDATA[ 018- ]}{CDATA[ ]}{/ELEM2}{CDATA[ 019- ]}{CDATA[ ]}{/ELEM1}{CDATA[ 020- ]}{/ROOT}{?[ 021- ]}parse complete ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: Linux - Linux jlug 2.4.20-grsec #2 Wed Mar 12 20:50:06 EET 2003 i686 Automake: automake (GNU automake) 1.4-p5 Copyright (C) 1999, 2001 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Tom Tromey <tromey@cygnus.com> Autoconf: Autoconf version 2.13 Libtool: ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54) Compiler: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113) Bison: bison (GNU Bison) 1.35 Copyright 1984, 1986, 1989, 1992, 2000, 2001, 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Libraries: User's E-mail: eero at jlug dot org ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 5.0.0b2-dev System => Linux jlug 2.4.20-grsec #2 Wed Mar 12 20:50:06 EET 2003 i686 Build Date => Jul 20 2003 14:50:11 Configure Command => './configure' '--with-apxs2=/home/apachetest/bin/apxs' '--with-gd' '--with-zlib' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/local/lib PHP API => 20030518 PHP Extension => 20020429 Zend Extension => 90021012 Debug Build => no Thread Safety => disabled Registered PHP Streams => php, http, ftp, compress.zlib This program makes use of the Zend Scripting Language Engine: Zend Engine v2.0.0-dev, Copyright (c) 1998-2003 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 => & => & arg_separator.output => & => & asp_tags => Off => Off auto_append_file => no value => no value auto_prepend_file => no value => no value browscap => no value => no value default_charset => no value => no value default_mimetype => text/html => text/html define_syslog_variables => Off => Off disable_classes => no value => no value disable_functions => no value => no value display_errors => On => On display_startup_errors => Off => Off doc_root => no value => no value docref_ext => no value => no value docref_root => no value => no value 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/lib/php/extensions/no-debug-non-zts-20020429 => /usr/local/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 => On => On ignore_repeated_errors => Off => Off ignore_repeated_source => Off => Off ignore_user_abort => Off => Off implicit_flush => Off => Off include_path => .:/usr/local/lib/php => .:/usr/local/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 mail.force_extra_parameters => no value => no value max_execution_time => 30 => 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 register_long_arrays => On => On report_memleaks => On => On report_zend_debug => Off => Off safe_mode => Off => Off safe_mode_exec_dir => /usr/local/php/bin => /usr/local/php/bin 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 serialize_precision => 100 => 100 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 zend2.implicit_clone => no value => no value ctype ctype functions => enabled dom DOM/XML => enabled DOM/XML API Version => 20030413 libxml Version => 2.5.1 HTML Support => enabled XPath Support => enabled XPointer Support => enabled gd GD Support => enabled GD Version => bundled (2.0.15 compatible) GIF Read Support => enabled PNG Support => enabled WBMP Support => enabled XBM Support => enabled pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 4.3 21-May-2003 posix Revision => $Revision: 1.57 $ session Session Support => enabled Registered save handlers => files user sqlite 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_divisor => 100 => 100 session.gc_maxlifetime => 1440 => 1440 session.gc_probability => 1 => 1 session.hash_bits_per_character => 4 => 4 session.hash_function => 0 => 0 session.name => PHPSESSID => PHPSESSID session.referer_check => no value => no value session.save_handler => files => files session.save_path => /tmp => /tmp session.serialize_handler => php => php session.use_cookies => On => On session.use_only_cookies => Off => Off session.use_trans_sid => Off => Off simplexml Simplexml support => enabled Revision => $Revision: 1.52 $ sqlite SQLite support => enabled PECL Module version => 1.1-dev $Id: sqlite.c,v 1.77 2003/07/19 11:00:17 sebastian Exp $ SQLite Library => 2.8.3 SQLite Encoding => iso8859 Directive => Local Value => Master Value sqlite.assoc_case => 0 => 0 standard Regex Library => Bundled library enabled Dynamic Library Support => enabled Path to sendmail => /usr/sbin/sendmail -t -i Directive => Local Value => Master Value assert.active => 1 => 1 assert.bail => 0 => 0 assert.callback => no value => no value assert.quiet_eval => 0 => 0 assert.warning => 1 => 1 auto_detect_line_endings => 0 => 0 date.default_latitude => 31.7667 => 31.7667 date.default_longitude => 35.2333 => 35.2333 date.sunrise_zenith => 90.83 => 90.83 date.sunset_zenith => 90.83 => 90.83 default_socket_timeout => 60 => 60 safe_mode_allowed_env_vars => PHP_ => PHP_ safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH url_rewriter.tags => a=href,area=href,frame=src,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 libxml2 Version => 2.5.1 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 Environment Variable => Value PWD => /home/eero/php5snap/php5-200307201130 MAKEFLAGS => MFLAGS => HOSTNAME => jlug G_BROKEN_FILENAMES => 1 REDIRECT_STATUS => TEST_PHP_EXECUTABLE => /home/eero/php5snap/php5-200307201130/sapi/cli/php 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 => MAIL => /var/spool/mail/root INPUTRC => /etc/inputrc BASH_ENV => /root/.bashrc PATH_TRANSLATED => LANG => en_US.iso885915 QUERY_STRING => CONTENT_LENGTH => MAKELEVEL => 1 SSH_CLIENT => deleted SHLVL => 3 LOGNAME => root _ => /home/eero/php5snap/php5-200307201130/sapi/cli/php REQUEST_METHOD => SHELL => /bin/sh USERNAME => root TEST_PHP_SRCDIR => /home/eero/php5snap/php5-200307201130 HISTSIZE => 1000 TERM => xterm HOME => /root SSH_AUTH_SOCK => deleted PATH => /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin SSH_TTY => deleted CONTENT_TYPE => PHP Variables Variable => Value _SERVER["PWD"] => /home/eero/php5snap/php5-200307201130 _SERVER["MAKEFLAGS"] => _SERVER["MFLAGS"] => _SERVER["HOSTNAME"] => jlug _SERVER["G_BROKEN_FILENAMES"] => 1 _SERVER["REDIRECT_STATUS"] => _SERVER["TEST_PHP_EXECUTABLE"] => /home/eero/php5snap/php5-200307201130/sapi/cli/php _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["MAIL"] => /var/spool/mail/root _SERVER["INPUTRC"] => /etc/inputrc _SERVER["BASH_ENV"] => /root/.bashrc _SERVER["PATH_TRANSLATED"] => _SERVER["LANG"] => en_US.iso885915 _SERVER["QUERY_STRING"] => _SERVER["CONTENT_LENGTH"] => _SERVER["MAKELEVEL"] => 1 _SERVER["SSH_CLIENT"] => deleted _SERVER["SHLVL"] => 3 _SERVER["LOGNAME"] => root _SERVER["_"] => /home/eero/php5snap/php5-200307201130/sapi/cli/php _SERVER["REQUEST_METHOD"] => _SERVER["SHELL"] => /bin/sh _SERVER["USERNAME"] => root _SERVER["TEST_PHP_SRCDIR"] => /home/eero/php5snap/php5-200307201130 _SERVER["HISTSIZE"] => 1000 _SERVER["TERM"] => xterm _SERVER["HOME"] => /root _SERVER["SSH_AUTH_SOCK"] => deleted _SERVER["PATH"] => /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin _SERVER["SSH_TTY"] => deleted _SERVER["CONTENT_TYPE"] => _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["PWD"] => /home/eero/php5snap/php5-200307201130 _ENV["MAKEFLAGS"] => _ENV["MFLAGS"] => _ENV["HOSTNAME"] => jlug _ENV["G_BROKEN_FILENAMES"] => 1 _ENV["REDIRECT_STATUS"] => _ENV["TEST_PHP_EXECUTABLE"] => /home/eero/php5snap/php5-200307201130/sapi/cli/php _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["MAIL"] => /var/spool/mail/root _ENV["INPUTRC"] => /etc/inputrc _ENV["BASH_ENV"] => /root/.bashrc _ENV["PATH_TRANSLATED"] => _ENV["LANG"] => en_US.iso885915 _ENV["QUERY_STRING"] => _ENV["CONTENT_LENGTH"] => _ENV["MAKELEVEL"] => 1 _ENV["SSH_CLIENT"] => deleted _ENV["SHLVL"] => 3 _ENV["LOGNAME"] => root _ENV["_"] => /home/eero/php5snap/php5-200307201130/sapi/cli/php _ENV["REQUEST_METHOD"] => _ENV["SHELL"] => /bin/sh _ENV["USERNAME"] => root _ENV["TEST_PHP_SRCDIR"] => /home/eero/php5snap/php5-200307201130 _ENV["HISTSIZE"] => 1000 _ENV["TERM"] => xterm _ENV["HOME"] => /root _ENV["SSH_AUTH_SOCK"] => deleted _ENV["PATH"] => /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin _ENV["SSH_TTY"] => deleted _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 (#15384) next »