Test results for 5.0.0b2-dev [failed]
| From: | noreply@php.net | Date: | Fri, 11 Jul 2003 07:01:13 +0000 |
| Subject: | Test results for 5.0.0b2-dev [failed] | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-15068@lists.php.net to get a copy of this message | ||
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
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 : 74
Exts tested : 9
---------------------------------------------------------------------
Number of tests : 706
Tests skipped : 293 (41.5%)
Tests warned : 0 ( 0.0%)
Tests failed : 18 ( 2.5%)
Tests passed : 395 (55.9%)
---------------------------------------------------------------------
Time taken : 23 seconds
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
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]
=====================================================================
================================================================================
/root/php5/php5-200307110530/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
================================================================================
================================================================================
/root/php5/php5-200307110530/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- }
================================================================================
================================================================================
/root/php5/php5-200307110530/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- }
================================================================================
================================================================================
/root/php5/php5-200307110530/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- }
================================================================================
================================================================================
/root/php5/php5-200307110530/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- }
================================================================================
================================================================================
/root/php5/php5-200307110530/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- }
================================================================================
================================================================================
/root/php5/php5-200307110530/ext/session/tests/012.phpt
================================================================================
---- EXPECTED OUTPUT
I live
---- ACTUAL OUTPUT
---- FAILED
================================================================================
001- I live
001+
================================================================================
================================================================================
/root/php5/php5-200307110530/ext/session/tests/013.phpt
================================================================================
---- EXPECTED OUTPUT
I live
---- ACTUAL OUTPUT
---- FAILED
================================================================================
001- I live
001+
================================================================================
================================================================================
/root/php5/php5-200307110530/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">
================================================================================
================================================================================
/root/php5/php5-200307110530/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+
================================================================================
================================================================================
/root/php5/php5-200307110530/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+
================================================================================
================================================================================
/root/php5/php5-200307110530/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- }
================================================================================
================================================================================
/root/php5/php5-200307110530/ext/session/tests/020.phpt
================================================================================
---- EXPECTED OUTPUT
<a href="link.php?a=b&PHPSESSID=abtest">
---- ACTUAL OUTPUT
---- FAILED
================================================================================
001- <a href="link.php?a=b&PHPSESSID=abtest">
001+
================================================================================
================================================================================
/root/php5/php5-200307110530/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" />
================================================================================
================================================================================
/root/php5/php5-200307110530/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
/root/php5/php5-200307110530/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
/root/php5/php5-200307110530/ext/standard/tests/serialize/bug24063.php on line 4
002- float(1.0E-6)
002+ string(9) "d::.0E-7;"
003+ bool(false)
================================================================================
================================================================================
/root/php5/php5-200307110530/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
================================================================================
================================================================================
/root/php5/php5-200307110530/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
================================================================================
================================================================================
/root/php5/php5-200307110530/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 lnx 2.4.18-18.7.x #1 Wed Nov 13 19:05:27 EST 2002 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:
libcrypt.so.1 => /lib/libcrypt.so.1 (0x4001c000)
libresolv.so.2 => /lib/libresolv.so.2 (0x4004a000)
libm.so.6 => /lib/i686/libm.so.6 (0x4005b000)
libdl.so.2 => /lib/libdl.so.2 (0x4007d000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40080000)
libz.so.1 => /usr/lib/libz.so.1 (0x40095000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x400a3000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40191000)
libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
User's E-mail: eero at jlug dot org
================================================================================
PHPINFO
================================================================================
phpinfo()
PHP Version => 5.0.0b2-dev
System => Linux lnx 2.4.18-18.7.x #1 Wed Nov 13 19:05:27 EST 2002 i686
Build Date => Jul 11 2003 09:54:54
Configure Command => './configure' '--with-pcre-rege'
'--disable-dom'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/lib/php.ini
PHP API => 20030518
PHP Extension => 20020429
Zend Extension => 90021012
Debug Build => no
Thread Safety => disabled
Registered PHP Streams => php, http, ftp
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.0.0-dev, Copyright (c) 1998-2003 Zend Technologies
_______________________________________________________________________
Configuration
PHP Core
Directive => Local Value => Master Value
allow_call_time_pass_reference => Off => Off
allow_url_fopen => On => On
always_populate_raw_post_data => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
asp_tags => Off => Off
auto_append_file => no value => no value
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => no value => no value
default_mimetype => text/html => text/html
define_syslog_variables => Off => Off
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => Off => Off
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 => 2047 => 2047
expose_php => On => On
extension_dir => ./ => ./
file_uploads => On => On
gpc_order => GPC => GPC
highlight.bg => #FFFFFF => #FFFFFF
highlight.comment => #FF8000 => #FF8000
highlight.default => #0000BB => #0000BB
highlight.html => #000000 => #000000
highlight.keyword => #007700 => #007700
highlight.string => #DD0000 => #DD0000
html_errors => 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 => On => On
log_errors_max_len => 1024 => 1024
magic_quotes_gpc => Off => Off
magic_quotes_runtime => Off => Off
magic_quotes_sybase => Off => Off
mail.force_extra_parameters => no value => no value
max_execution_time => 30 => 30
max_input_time => 60 => 60
open_basedir => no value => no value
output_buffering => 4096 => 4096
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 14 => 14
register_argc_argv => On => On
register_globals => On => On
register_long_arrays => On => On
report_memleaks => On => On
report_zend_debug => Off => Off
safe_mode => Off => Off
safe_mode_exec_dir => no value => no value
safe_mode_gid => Off => Off
safe_mode_include_dir => no value => no value
sendmail_from => me@localhost.com => me@localhost.com
sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
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 => GPCS => GPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
zend2.implicit_clone => no value => no value
ctype
ctype functions => enabled
pcre
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 4.3 21-May-2003
posix
Revision => $Revision: 1.56 $
session
Session Support => enabled
Registered save handlers => files user sqlite
Directive => Local Value => Master Value
session.auto_start => Off => Off
session.bug_compat_42 => Off => Off
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 => 1000 => 1000
session.gc_maxlifetime => 1440 => 1440
session.gc_probability => 1 => 1
session.hash_bits_per_character => 5 => 5
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.72 2003/07/08 23:10:01 helly 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,input=src,form=fakeentry =>
a=href,area=href,frame=src,input=src,form=fakeentry
user_agent => no value => n