Test results for 5.0.0b1 [failed]

From: Date: Mon, 30 Jun 2003 13:21:56 +0000
Subject: Test results for 5.0.0b1 [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-14630@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Methods via variable name, bug #20120 [tests/classes/bug20120.phpt] Bug #21800 (Segfault under interactive mode) [tests/lang/bug21800.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 : 237 (37.6%) Tests warned : 0 ( 0.0%) Tests failed : 16 ( 2.5%) Tests passed : 378 (59.9%) --------------------------------------------------------------------- Time taken : 43 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Methods via variable name, bug #20120 [tests/classes/bug20120.phpt] Bug #21800 (Segfault under interactive mode) [tests/lang/bug21800.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] ===================================================================== ================================================================================ /usr/local/src/php-5.0.0b1/tests/classes/bug20120.phpt ================================================================================ ---- EXPECTED OUTPUT test test2 test2 ---- ACTUAL OUTPUT Parse error: parse error in /usr/local/src/php-5.0.0b1/tests/classes/bug20120.php on line 11 ---- FAILED ================================================================================ 001- test 001+ Parse error: parse error in /usr/local/src/php-5.0.0b1/tests/classes/bug20120.php on line 11 002- test2 003- test2 ================================================================================ ================================================================================ /usr/local/src/php-5.0.0b1/tests/lang/bug21800.phpt ================================================================================ ---- EXPECTED OUTPUT Interactive mode enabled :test: ---- ACTUAL OUTPUT Notice: Undefined index: TEST_PHP_EXECUTABLE in /usr/local/src/php-5.0.0b1/tests/lang/bug21800.php on line 2 sh: line 1: -a: command not found ---- FAILED ================================================================================ 001- Interactive mode enabled 001+ Notice: Undefined index: TEST_PHP_EXECUTABLE in /usr/local/src/php-5.0.0b1/tests/lang/bug21800.php on line 2 002- 002+ sh: line 1: -a: command not found 003- :test: ================================================================================ ================================================================================ /usr/local/src/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) ================================================================================ ================================================================================ /usr/local/src/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) ================================================================================ ================================================================================ /usr/local/src/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 /usr/local/src/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 /usr/local/src/php-5.0.0b1/ext/standard/tests/aggregation/aggregate.php on line 6 004- **** ================================================================================ ================================================================================ /usr/local/src/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 /usr/local/src/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 /usr/local/src/php-5.0.0b1/ext/standard/tests/aggregation/aggregate_methods.php on line 5 004- simple,mix_it 005- simple_prop 006- mixing ================================================================================ ================================================================================ /usr/local/src/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 /usr/local/src/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 /usr/local/src/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 ================================================================================ ================================================================================ /usr/local/src/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 /usr/local/src/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 /usr/local/src/php-5.0.0b1/ext/standard/tests/aggregation/aggregate_methods_by_regexp.php on line 5 004- simple,just_another_method ================================================================================ ================================================================================ /usr/local/src/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 /usr/local/src/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 /usr/local/src/php-5.0.0b1/ext/standard/tests/aggregation/aggregate_properties.php on line 5 004- simple ================================================================================ ================================================================================ /usr/local/src/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 /usr/local/src/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 /usr/local/src/php-5.0.0b1/ext/standard/tests/aggregation/aggregate_properties_by_list.php on line 5 004- simple_prop,your_prop,our_prop ================================================================================ ================================================================================ /usr/local/src/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 /usr/local/src/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 /usr/local/src/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- ) ================================================================================ ================================================================================ /usr/local/src/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 /usr/local/src/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 /usr/local/src/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) ================================================================================ ================================================================================ /usr/local/src/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 ================================================================================ ================================================================================ /usr/local/src/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 ================================================================================ ================================================================================ /usr/local/src/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 ================================================================================ ================================================================================ /usr/local/src/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"]}{?[>]}{?[ ]}{?[%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 ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: Linux - Linux redhat 2.4.20-18.9 #1 Thu May 29 07:08:16 EDT 2003 i686 Automake: automake (GNU automake) 1.6.3 Written by Tom Tromey <tromey@redhat.com>. Copyright 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Autoconf: autoconf (GNU Autoconf) 2.57 Written by David J. MacKenzie and Akim Demaille. Copyright 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Libtool: ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54) Compiler: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux Thread model: posix gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) Bison: bison (GNU Bison) 1.35 Copyright 1984, 1986, 1989, 1992, 2000, 2001, 2002 Free Software Foundation, Inc. Dies ist freie Software; die Kopierbedingungen stehen in den Quellen. Es gibt keine Garantie; auch nicht für VERKAUFBARKEIT oder FÜR SPEZIELLE ZWECKE. Libraries: libcrypt.so.1 => /lib/libcrypt.so.1 (0x40028000) libz.so.1 => /usr/lib/libz.so.1 (0x40055000) libresolv.so.2 => /lib/libresolv.so.2 (0x40063000) libm.so.6 => /lib/tls/libm.so.6 (0x40076000) libdl.so.2 => /lib/libdl.so.2 (0x40098000) libnsl.so.1 => /lib/libnsl.so.1 (0x4009c000) libxml2.so.2 => /usr/lib/libxml2.so.2 (0x400b1000) libc.so.6 => /lib/tls/libc.so.6 (0x42000000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) User's E-mail: m dot wallner at iworks dot at ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 5.0.0b1 System => Linux redhat 2.4.20-18.9 #1 Thu May 29 07:08:16 EDT 2003 i686 Build Date => Jun 30 2003 15:13:22 Configure Command => './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--without-pear' 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 => On => On arg_separator.input => & => & arg_separator.output => &amp; => &amp; asp_tags => Off => Off auto_append_file => no value => no value auto_prepend_file => no value => no value browscap => no value => no value default_charset => iso-8859-1 => iso-8859-1 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 => /var/log/php => /var/log/php error_prepend_string => no value => no value error_reporting => 2047 => 2047 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/pear/share/pear => .:/usr/local/pear/share/pear 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 => Off => Off 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 => 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 => Off => Off 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 dom DOM/XML => enabled DOM/XML API Version => 20030413 libxml Version => 2.5.4 HTML Support => enabled XPath Support => enabled XPointer Support => 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 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 => 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 => sid => sid session.referer_check => no value => no value session.save_handler => files => files session.save_path => /tmp => /tmp session.serialize_handler => php => php session.use_cookies => On => On session.use_only_cookies => Off => Off session.use_trans_sid => On => On simplexml Simplexml support => enabled Revision => $Revision: 1.44 $ sqlite SQLite support => enabled PECL Module version => 1.1-dev $Id: sqlite.c,v 1.66 2003/06/27 14:30:26 edink 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 => no value tokenizer Tokenizer Support => enabled xml XML Support => active XML Namespace Support => active libxml2 Version => 2.5.4 Additional Modules Module Name Environment Variable => Value HOSTNAME => redhat TEST_PHP_SRCDIR => /usr/local/src/php-5.0.0b1 TERM => xterm SHELL => /bin/sh HISTSIZE => 1000 MAKEFLAGS => SSH_CLIENT => deleted SSH_TTY => deleted USER => root LS_COLORS => no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35: SCRIPT_FILENAME => SSH_AUTH_SOCK => deleted USERNAME => root MAKELEVEL => 1 MFLAGS => PATH => /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin MAIL => /var/spool/mail/root _ => /usr/local/src/php-5.0.0b1/sapi/cli/php PWD => /usr/local/src/php-5.0.0b1 INPUTRC => /etc/inputrc LANG => de_AT.UTF-8 TEST_PHP_EXECUTABLE => /usr/local/src/php-5.0.0b1/sapi/cli/php REDIRECT_STATUS => PATH_TRANSLATED => SSH_ASKPASS => /usr/libexec/openssh/gnome-ssh-askpass HOME => /root SHLVL => 3 CONTENT_LENGTH => BASH_ENV => /root/.bashrc LOGNAME => root QUERY_STRING => SSH_CONNECTION => 192.168.0.100 1475 192.168.0.200 22 LESSOPEN => |/usr/bin/lesspipe.sh %s CONTENT_TYPE => CC => gcc REQUEST_METHOD => G_BROKEN_FILENAMES => 1 PHP Variables Variable => Value _SERVER["HOSTNAME"] => redhat _SERVER["TEST_PHP_SRCDIR"] => /usr/local/src/php-5.0.0b1 _SERVER["TERM"] => xterm _SERVER["SHELL"] => /bin/sh _SERVER["HISTSIZE"] => 1000 _SERVER["MAKEFLAGS"] => _SERVER["SSH_CLIENT"] => deleted _SERVER["SSH_TTY"] => deleted _SERVER["USER"] => root _SERVER["LS_COLORS"] => no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35: _SERVER["SCRIPT_FILENAME"] => _SERVER["SSH_AUTH_SOCK"] => deleted _SERVER["USERNAME"] => root _SERVER["MAKELEVEL"] => 1 _SERVER["MFLAGS"] => _SERVER["PATH"] => /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin _SERVER["MAIL"] => /var/spool/mail/root _SERVER["_"] => /usr/local/src/php-5.0.0b1/sapi/cli/php _SERVER["PWD"] => /usr/local/src/php-5.0.0b1 _SERVER["INPUTRC"] => /etc/inputrc _SERVER["LANG"] => de_AT.UTF-8 _SERVER["TEST_PHP_EXECUTABLE"] => /usr/local/src/php-5.0.0b1/sapi/cli/php _SERVER["REDIRECT_STATUS"] => _SERVER["PATH_TRANSLATED"] => _SERVER["SSH_ASKPASS"] => /usr/libexec/openssh/gnome-ssh-askpass _SERVER["HOME"] => /root _SERVER["SHLVL"] => 3 _SERVER["CONTENT_LENGTH"] => _SERVER["BASH_ENV"] => /root/.bashrc _SERVER["LOGNAME"] => root _SERVER["QUERY_STRING"] => _SERVER["SSH_CONNECTION"] => 192.168.0.100 1475 192.168.0.200 22 _SERVER["LESSOPEN"] => |/usr/bin/lesspipe.sh %s _SERVER["CONTENT_TYPE"] => _SERVER["CC"] => gcc _SERVER["REQUEST_METHOD"] => _SERVER["G_BROKEN_FILENAMES"] => 1 _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => 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 (#14630) next »