Test results for 5.0.0b1 [failed]

From: Date: Mon, 30 Jun 2003 16:04:36 +0000
Subject: Test results for 5.0.0b1 [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-14639@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Methods via variable name, bug #20120 [tests/classes/bug20120.phpt] Bug #22367 (weird zval allocation problem) [tests/lang/bug22367.phpt] Bug #23624 (foreach leaves current array key as null) [tests/lang/bug23624.phpt] aggregating everything [ext/standard/tests/aggregation/aggregate.phpt] aggregating all methods [ext/standard/tests/aggregation/aggregate_methods.phpt] aggregating methods specified in the list [ext/standard/tests/aggregation/aggregate_methods_by_list.phpt] aggregating methods matching regular expression [ext/standard/tests/aggregation/aggregate_methods_by_regexp.phpt] aggregating all default properties [ext/standard/tests/aggregation/aggregate_properties.phpt] aggregating default properties specified in the list [ext/standard/tests/aggregation/aggregate_properties_by_list.phpt] retrieving aggregation info [ext/standard/tests/aggregation/aggregation_info.phpt] deaggreating [ext/standard/tests/aggregation/deaggregate.phpt] date_sunrise() and date_sunset() functions [ext/standard/tests/general_functions/sunfuncts.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 : 72 Exts tested : 10 --------------------------------------------------------------------- Number of tests : 631 Tests skipped : 236 (37.4%) Tests warned : 0 ( 0.0%) Tests failed : 15 ( 2.4%) Tests passed : 380 (60.2%) --------------------------------------------------------------------- Time taken : 45 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Methods via variable name, bug #20120 [tests/classes/bug20120.phpt] Bug #22367 (weird zval allocation problem) [tests/lang/bug22367.phpt] Bug #23624 (foreach leaves current array key as null) [tests/lang/bug23624.phpt] aggregating everything [ext/standard/tests/aggregation/aggregate.phpt] aggregating all methods [ext/standard/tests/aggregation/aggregate_methods.phpt] aggregating methods specified in the list [ext/standard/tests/aggregation/aggregate_methods_by_list.phpt] aggregating methods matching regular expression [ext/standard/tests/aggregation/aggregate_methods_by_regexp.phpt] aggregating all default properties [ext/standard/tests/aggregation/aggregate_properties.phpt] aggregating default properties specified in the list [ext/standard/tests/aggregation/aggregate_properties_by_list.phpt] retrieving aggregation info [ext/standard/tests/aggregation/aggregation_info.phpt] deaggreating [ext/standard/tests/aggregation/deaggregate.phpt] date_sunrise() and date_sunset() functions [ext/standard/tests/general_functions/sunfuncts.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/bpedro/software/php-5.0.0b1/tests/classes/bug20120.phpt ================================================================================ ---- EXPECTED OUTPUT test test2 test2 ---- ACTUAL OUTPUT Parse error: parse error in /home/bpedro/software/php-5.0.0b1/tests/classes/bug20120.php on line 11 ---- FAILED ================================================================================ 001- test 001+ Parse error: parse error in /home/bpedro/software/php-5.0.0b1/tests/classes/bug20120.php on line 11 002- test2 003- test2 ================================================================================ ================================================================================ /home/bpedro/software/php-5.0.0b1/tests/lang/bug22367.phpt ================================================================================ ---- EXPECTED OUTPUT int(5) bool(false) bool(false) array(5) { [0]=> int(0) [1]=> int(1) [2]=> int(2) [3]=> int(3) [4]=> int(4) } array(5) { [0]=> int(0) [1]=> int(1) [2]=> int(2) [3]=> int(3) [4]=> int(4) } int(2) bool(true) bool(true) array(5) { [0]=> int(0) [1]=> int(1) [2]=> int(2) [3]=> int(3) [4]=> int(4) } array(5) { [0]=> int(0) [1]=> int(1) [2]=> int(2) [3]=> int(3) [4]=> int(4) } ---- ACTUAL OUTPUT int(5) bool(false) bool(false) array(5) { [0]=> int(4) [1]=> int(4) [2]=> int(4) [3]=> int(4) [4]=> int(4) } array(5) { [0]=> int(0) [1]=> int(1) [2]=> int(2) [3]=> int(3) [4]=> int(4) } int(2) bool(true) bool(true) array(5) { [0]=> int(0) [1]=> int(1) [2]=> int(2) [3]=> int(3) [4]=> int(4) } array(5) { [0]=> int(0) [1]=> int(1) [2]=> &int(2) [3]=> int(3) [4]=> int(4) } ---- FAILED ================================================================================ 006- int(0) 006+ int(4) 008- int(1) 008+ int(4) 010- int(2) 010+ int(4) 012- int(3) 012+ int(4) 049- int(2) 049+ &int(2) ================================================================================ ================================================================================ /home/bpedro/software/php-5.0.0b1/tests/lang/bug23624.phpt ================================================================================ ---- EXPECTED OUTPUT string(3) "one" string(5) "three" ---- ACTUAL OUTPUT string(3) "one" bool(false) ---- FAILED ================================================================================ 002- string(5) "three" 002+ bool(false) ================================================================================ ================================================================================ /home/bpedro/software/php-5.0.0b1/ext/standard/tests/aggregation/aggregate.phpt ================================================================================ ---- EXPECTED OUTPUT I'm alive! I'm helping! I'm aggregating! **** ---- ACTUAL OUTPUT I'm alive! Fatal error: Call to undefined function: aggregate() in /home/bpedro/software/php-5.0.0b1/ext/standard/tests/aggregation/aggregate.php on line 6 ---- FAILED ================================================================================ 002- I'm helping! 002+ 003- I'm aggregating! 003+ Fatal error: Call to undefined function: aggregate() in /home/bpedro/software/php-5.0.0b1/ext/standard/tests/aggregation/aggregate.php on line 6 004- **** ================================================================================ ================================================================================ /home/bpedro/software/php-5.0.0b1/ext/standard/tests/aggregation/aggregate_methods.phpt ================================================================================ ---- EXPECTED OUTPUT I'm alive! mixing 100 simple,mix_it simple_prop mixing ---- ACTUAL OUTPUT I'm alive! Fatal error: Call to undefined function: aggregate_methods() in /home/bpedro/software/php-5.0.0b1/ext/standard/tests/aggregation/aggregate_methods.php on line 5 ---- FAILED ================================================================================ 002- mixing 002+ 003- 100 003+ Fatal error: Call to undefined function: aggregate_methods() in /home/bpedro/software/php-5.0.0b1/ext/standard/tests/aggregation/aggregate_methods.php on line 5 004- simple,mix_it 005- simple_prop 006- mixing ================================================================================ ================================================================================ /home/bpedro/software/php-5.0.0b1/ext/standard/tests/aggregation/aggregate_methods_by_list.phpt ================================================================================ ---- EXPECTED OUTPUT I'm alive! simple,just_another_method I'm alive! simple,do_this,do_that yep, that's me ---- ACTUAL OUTPUT I'm alive! Fatal error: Call to undefined function: aggregate_methods_by_list() in /home/bpedro/software/php-5.0.0b1/ext/standard/tests/aggregation/aggregate_methods_by_list.php on line 5 ---- FAILED ================================================================================ 002- simple,just_another_method 002+ 003- I'm alive! 003+ Fatal error: Call to undefined function: aggregate_methods_by_list() in /home/bpedro/software/php-5.0.0b1/ext/standard/tests/aggregation/aggregate_methods_by_list.php on line 5 004- simple,do_this,do_that 005- yep, that's me ================================================================================ ================================================================================ /home/bpedro/software/php-5.0.0b1/ext/standard/tests/aggregation/aggregate_methods_by_regexp.phpt ================================================================================ ---- EXPECTED OUTPUT I'm alive! simple,do_this,do_that I'm alive! simple,just_another_method ---- ACTUAL OUTPUT I'm alive! Fatal error: Call to undefined function: aggregate_methods_by_regexp() in /home/bpedro/software/php-5.0.0b1/ext/standard/tests/aggregation/aggregate_methods_by_regexp.php on line 5 ---- FAILED ================================================================================ 002- simple,do_this,do_that 002+ 003- I'm alive! 003+ Fatal error: Call to undefined function: aggregate_methods_by_regexp() in /home/bpedro/software/php-5.0.0b1/ext/standard/tests/aggregation/aggregate_methods_by_regexp.php on line 5 004- simple,just_another_method ================================================================================ ================================================================================ /home/bpedro/software/php-5.0.0b1/ext/standard/tests/aggregation/aggregate_properties.phpt ================================================================================ ---- EXPECTED OUTPUT I'm alive! simple_prop,mix 100 simple ---- ACTUAL OUTPUT I'm alive! Fatal error: Call to undefined function: aggregate_properties() in /home/bpedro/software/php-5.0.0b1/ext/standard/tests/aggregation/aggregate_properties.php on line 5 ---- FAILED ================================================================================ 002- simple_prop,mix 002+ 003- 100 003+ Fatal error: Call to undefined function: aggregate_properties() in /home/bpedro/software/php-5.0.0b1/ext/standard/tests/aggregation/aggregate_properties.php on line 5 004- simple ================================================================================ ================================================================================ /home/bpedro/software/php-5.0.0b1/ext/standard/tests/aggregation/aggregate_properties_by_list.phpt ================================================================================ ---- EXPECTED OUTPUT I'm alive! simple_prop,my_prop,our_prop I'm alive! simple_prop,your_prop,our_prop ---- ACTUAL OUTPUT I'm alive! Fatal error: Call to undefined function: aggregate_properties_by_list() in /home/bpedro/software/php-5.0.0b1/ext/standard/tests/aggregation/aggregate_properties_by_list.php on line 5 ---- FAILED ================================================================================ 002- simple_prop,my_prop,our_prop 002+ 003- I'm alive! 003+ Fatal error: Call to undefined function: aggregate_properties_by_list() in /home/bpedro/software/php-5.0.0b1/ext/standard/tests/aggregation/aggregate_properties_by_list.php on line 5 004- simple_prop,your_prop,our_prop ================================================================================ ================================================================================ /home/bpedro/software/php-5.0.0b1/ext/standard/tests/aggregation/aggregation_info.phpt ================================================================================ ---- EXPECTED OUTPUT I'm alive! Array ( [mixin] => Array ( [methods] => Array ( [0] => mix_it ) [properties] => Array ( [0] => mix ) ) ) ---- ACTUAL OUTPUT I'm alive! Fatal error: Call to undefined function: aggregate() in /home/bpedro/software/php-5.0.0b1/ext/standard/tests/aggregation/aggregation_info.php on line 5 ---- FAILED ================================================================================ 002- Array 002+ 003- ( 003+ Fatal error: Call to undefined function: aggregate() in /home/bpedro/software/php-5.0.0b1/ext/standard/tests/aggregation/aggregation_info.php on line 5 004- [mixin] => Array 005- ( 006- [methods] => Array 007- ( 008- [0] => mix_it 009- ) 010- 011- [properties] => Array 012- ( 013- [0] => mix 014- ) 015- 016- ) 017- 018- ) ================================================================================ ================================================================================ /home/bpedro/software/php-5.0.0b1/ext/standard/tests/aggregation/deaggregate.phpt ================================================================================ ---- EXPECTED OUTPUT I'm alive! Array ( [helper] => Array ( [methods] => Array ( [0] => do_this [1] => do_that [2] => just_another_method ) [properties] => Array ( [0] => my_prop [1] => your_prop [2] => our_prop ) ) [mixin] => Array ( [methods] => Array ( [0] => mix_it ) [properties] => Array ( [0] => mix ) ) ) Array ( [mixin] => Array ( [methods] => Array ( [0] => mix_it ) [properties] => Array ( [0] => mix ) ) ) bool(false) ---- ACTUAL OUTPUT I'm alive! Fatal error: Call to undefined function: aggregate() in /home/bpedro/software/php-5.0.0b1/ext/standard/tests/aggregation/deaggregate.php on line 5 ---- FAILED ================================================================================ 002- Array 002+ 003- ( 003+ Fatal error: Call to undefined function: aggregate() in /home/bpedro/software/php-5.0.0b1/ext/standard/tests/aggregation/deaggregate.php on line 5 004- [helper] => Array 005- ( 006- [methods] => Array 007- ( 008- [0] => do_this 009- [1] => do_that 010- [2] => just_another_method 011- ) 012- 013- [properties] => Array 014- ( 015- [0] => my_prop 016- [1] => your_prop 017- [2] => our_prop 018- ) 019- 020- ) 021- 022- [mixin] => Array 023- ( 024- [methods] => Array 025- ( 026- [0] => mix_it 027- ) 028- 029- [properties] => Array 030- ( 031- [0] => mix 032- ) 033- 034- ) 035- 036- ) 037- Array 038- ( 039- [mixin] => Array 040- ( 041- [methods] => Array 042- ( 043- [0] => mix_it 044- ) 045- 046- [properties] => Array 047- ( 048- [0] => mix 049- ) 050- 051- ) 052- 053- ) 054- bool(false) ================================================================================ ================================================================================ /home/bpedro/software/php-5.0.0b1/ext/standard/tests/general_functions/sunfuncts.phpt ================================================================================ ---- EXPECTED OUTPUT 1041293199 06:39 6.6524557618962 1041293806 16:46 16.769374867459 1043971592 06:32 6.5453702926602 1043972233 17:13 17.217524708736 1046390766 06:06 6.1156526756851 1046391456 17:36 17.6108549623 1049069128 05:28 5.4727420290691 1049069878 17:58 17.972552584375 1051661094 04:54 4.9012299828593 1051661898 18:18 18.313688769483 1054339474 04:34 4.5744292894498 1054340319 18:39 18.656400943241 1056931476 04:36 4.6161204505189 1056932328 18:48 18.808871657766 1059609894 04:54 4.9068825098365 1059610715 18:35 18.599286002028 1062288314 05:14 5.2368895570738 1062289083 18:03 18.060541787879 1064880332 05:32 5.542366581139 1064881044 17:24 17.411505614917 1067558754 05:54 5.9162088420581 1067559410 16:50 16.833698570628 1070150780 06:20 6.3462215520697 1070151395 16:35 16.583589055537 ---- ACTUAL OUTPUT 1041293199 06:39 6.6524557618962 1041293806 16:46 16.769374867459 1043971592 06:32 6.5453702926602 1043972233 17:13 17.217524708736 1046390766 06:06 6.1156526756851 1046391456 17:36 17.6108549623 1049069128 05:28 5.4727420290691 1049069878 17:58 17.972552584375 1051661094 04:54 4.9012299828593 1051661898 18:18 18.313688769483 1054339474 04:34 4.5744292894498 1054340319 18:39 18.656400943241 1056931476 04:36 4.6161204505189 1056932328 18:48 18.808871657766 1059609894 04:54 4.9068825098364 1059610715 18:35 18.599286002028 1062288314 05:14 5.2368895570738 1062289083 18:03 18.060541787879 1064880332 05:32 5.542366581139 1064881044 17:24 17.411505614917 1067558754 05:54 5.9162088420581 1067559410 16:50 16.833698570628 1070150780 06:20 6.3462215520697 1070151395 16:35 16.583589055537 ---- FAILED ================================================================================ 015- 1059609894 04:54 4.9068825098365 015+ 1059609894 04:54 4.9068825098364 ================================================================================ ================================================================================ /home/bpedro/software/php-5.0.0b1/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[ ]}{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[ 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/bpedro/software/php-5.0.0b1/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 {EXTENTREF[incent,,,inc.ent]} {ROOT ID="elem1"}{CDATA[ Plain text. ]}{ELEM1}{CDATA[ ]}{?[<-- comment -->]}{CDATA[ ]}{ELEM2}{CDATA[ ]}{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[ 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/bpedro/software/php-5.0.0b1/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"]}{?

« previous php.qa (#14639) next »