Test results for 5.0.0b1 [failed]

From: Date: Sun, 29 Jun 2003 23:46:08 +0000
Subject: Test results for 5.0.0b1 [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-14607@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] Bug #24142 (round() problems) [ext/standard/tests/math/bug24142.phpt] strtotime() function [ext/standard/tests/time/002.phpt] Check for mktime with out-of-range parameters [ext/standard/tests/time/003.phpt] mktime() [ext/standard/tests/time/mktime.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 : 68 Exts tested : 14 --------------------------------------------------------------------- Number of tests : 631 Tests skipped : 221 (35.0%) Tests warned : 0 ( 0.0%) Tests failed : 18 ( 2.9%) Tests passed : 392 (62.1%) --------------------------------------------------------------------- Time taken : 42 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] Bug #24142 (round() problems) [ext/standard/tests/math/bug24142.phpt] strtotime() function [ext/standard/tests/time/002.phpt] Check for mktime with out-of-range parameters [ext/standard/tests/time/003.phpt] mktime() [ext/standard/tests/time/mktime.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/php-5.0.0b1/tests/classes/bug20120.phpt ================================================================================ ---- EXPECTED OUTPUT test test2 test2 ---- ACTUAL OUTPUT Parse error: parse error in /root/php-5.0.0b1/tests/classes/bug20120.php on line 11 ---- FAILED ================================================================================ 001- test 001+ Parse error: parse error in /root/php-5.0.0b1/tests/classes/bug20120.php on line 11 002- test2 003- test2 ================================================================================ ================================================================================ /root/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) ================================================================================ ================================================================================ /root/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) ================================================================================ ================================================================================ /root/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 /root/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 /root/php-5.0.0b1/ext/standard/tests/aggregation/aggregate.php on line 6 004- **** ================================================================================ ================================================================================ /root/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 /root/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 /root/php-5.0.0b1/ext/standard/tests/aggregation/aggregate_methods.php on line 5 004- simple,mix_it 005- simple_prop 006- mixing ================================================================================ ================================================================================ /root/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 /root/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 /root/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 ================================================================================ ================================================================================ /root/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 /root/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 /root/php-5.0.0b1/ext/standard/tests/aggregation/aggregate_methods_by_regexp.php on line 5 004- simple,just_another_method ================================================================================ ================================================================================ /root/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 /root/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 /root/php-5.0.0b1/ext/standard/tests/aggregation/aggregate_properties.php on line 5 004- simple ================================================================================ ================================================================================ /root/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 /root/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 /root/php-5.0.0b1/ext/standard/tests/aggregation/aggregate_properties_by_list.php on line 5 004- simple_prop,your_prop,our_prop ================================================================================ ================================================================================ /root/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 /root/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 /root/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- ) ================================================================================ ================================================================================ /root/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 /root/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 /root/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) ================================================================================ ================================================================================ /root/php-5.0.0b1/ext/standard/tests/math/bug24142.phpt ================================================================================ ---- EXPECTED OUTPUT 5.04 5.05 ---- ACTUAL OUTPUT 5.05 5.06 ---- FAILED ================================================================================ 001- 5.04 001+ 5.05 002- 5.05 002+ 5.06 ================================================================================ ================================================================================ /root/php-5.0.0b1/ext/standard/tests/time/002.phpt ================================================================================ ---- EXPECTED OUTPUT 1999-10-13 00:00:00 1999-10-13 00:00:00 2000-01-19 00:00:00 2000-01-19 00:00:00 2001-12-21 00:00:00 2001-12-21 00:00:00 2001-12-21 12:16:00 2001-12-21 12:16:00 1969-12-31 23:59:59 2001-10-22 21:19:58 2001-10-22 23:19:58 2001-10-22 23:32:58 2001-10-22 19:19:58 2001-10-22 19:06:58 1999-10-13 00:00:00 1999-10-13 00:00:00 2000-01-19 00:00:00 2000-01-19 00:00:00 2001-12-21 00:00:00 2001-12-21 00:00:00 2001-12-21 12:16:00 2001-12-21 12:16:00 1969-12-31 18:59:59 2001-10-22 21:19:58 2001-10-22 19:19:58 2001-10-22 19:32:58 2001-10-22 15:19:58 2001-10-22 15:06:58 ---- ACTUAL OUTPUT 1999-10-13 00:00:00 1999-10-13 00:00:00 2000-01-19 00:00:00 2000-01-19 00:00:00 2001-12-21 00:00:00 2001-12-21 00:00:00 2001-12-21 12:16:00 2001-12-21 12:16:00 1969-12-31 23:59:59 2001-10-22 21:19:58 2001-10-22 23:19:58 2001-10-22 23:32:58 2001-10-22 19:19:58 2001-10-22 19:06:58 1999-10-13 00:00:00 1999-10-13 00:00:00 2000-01-19 00:00:00 2000-01-19 00:00:00 2001-12-21 00:00:00 2001-12-21 00:00:00 2001-12-21 12:16:00 2001-12-21 12:16:00 1969-12-31 23:59:59 2001-10-22 21:19:58 2001-10-22 23:19:58 2001-10-22 23:32:58 2001-10-22 19:19:58 2001-10-22 19:06:58 ---- FAILED ================================================================================ 023- 1969-12-31 18:59:59 023+ 1969-12-31 23:59:59 025- 2001-10-22 19:19:58 025+ 2001-10-22 23:19:58 026- 2001-10-22 19:32:58 026+ 2001-10-22 23:32:58 027- 2001-10-22 15:19:58 027+ 2001-10-22 19:19:58 028- 2001-10-22 15:06:58 028+ 2001-10-22 19:06:58 ================================================================================ ================================================================================ /root/php-5.0.0b1/ext/standard/tests/time/003.phpt ================================================================================ ---- EXPECTED OUTPUT 2000-02-29 2000-02-28 2000-02-29 2001-02-28 2001-03-01 1999-11-30 2000-05-29 12:00:00 2000-05-29 13:00:00 2000-05-29 12:00:00 2000-01-31 12:00:00 2000-01-31 12:00:00 2000-01-31 11:00:00 2000-04-29 12:00:00 2000-04-29 13:00:00 2000-04-29 12:00:00 ---- ACTUAL OUTPUT 2000-02-29 2000-02-28 2000-02-29 2001-02-28 2001-03-01 1999-11-30 2000-05-29 12:00:00 2000-05-29 07:00:00 2000-05-29 12:00:00 2000-01-31 12:00:00 2000-01-31 06:00:00 2000-01-31 11:00:00 2000-04-29 12:00:00 2000-04-29 07:00:00 2000-04-29 12:00:00 ---- FAILED ================================================================================ 008- 2000-05-29 13:00:00 008+ 2000-05-29 07:00:00 011- 2000-01-31 12:00:00 011+ 2000-01-31 06:00:00 014- 2000-04-29 13:00:00 014+ 2000-04-29 07:00:00 ================================================================================ ================================================================================ /root/php-5.0.0b1/ext/standard/tests/time/mktime.phpt ================================================================================ ---- EXPECTED OUTPUT int(1009843200) int(1009843200) int(1009843200) int(1009843200) int(1025481600) int(1025481600) int(1025481600) int(1025481600) int(1009839600) int(1009839600) int(1009839600) int(1009836000) int(1025474400) int(1025474400) int(1025478000) int(1025474400) ---- ACTUAL OUTPUT int(1009843200) int(1009843200) int(1009843200) int(-3662) int(1025481600) int(1025481600) int(1025481600) int(-3662) int(1009839600) int(1009839600) int(1009839600) int(1009857600) int(1025474400) int(1025474400) int(1025456400) int(1025474400) ---- FAILED ================================================================================ 004- int(1009843200) 004+ int(-3662) 008- int(1025481600) 008+ int(-3662) 012- int(1009836000) 012+ int(1009857600) 015- int(1025478000) 015+ int(1025456400) ================================================================================ ================================================================================ /root/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 ================================================================================ ================================================================================ /root/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 ================================================================================ ================================================================================ /root/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: FreeBSD - FreeBSD www.rickysonline.com 4.8-RELEASE FreeBSD 4.8-RELEASE #2: Fri May i386 Automake: automake (GNU automake) 1.5 Written by Tom Tromey <tromey@cygnus.com>. Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 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. Autoconf: autoconf (GNU Autoconf) 2.53 Written by David J. MacKenzie and Akim Demaille. Copyright 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Libtool: ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54) Compiler: Using builtin specs. gcc version 2.95.4 20020320 [FreeBSD] Bison: bison (GNU Bison) 1.75 Written by Robert Corbett and Richard Stallman. Copyright (C) 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: /root/php-5.0.0b1/sapi/cli/php: libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x281fe000) libpng.so.5 => /usr/local/lib/libpng.so.5 (0x28217000) libz.so.2 => /usr/lib/libz.so.2 (0x2823a000) libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x28247000) libssl.so.4 => /usr/local/lib/libssl.so.4 (0x28265000) libcrypto.so.4 => /usr/local/lib/libcrypto.so.4 (0x28293000) libm.so.2 => /usr/lib/libm.so.2 (0x28380000) libcurl.so.2 => /usr/local/lib/libcurl.so.2 (0x2839b000) libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x283c1000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x2849e000) libmysqlclient.so.10 => /usr/local/lib/mysql/libmysqlclient.so.10 (0x28579000) libudmsearch.so.1 => /usr/local/lib/libudmsearch.so.1 (0x28594000) libc.so.4 => /usr/lib/libc.so.4 (0x285cb000) libssl.so.3 => /usr/lib/libssl.so.3 (0x28664000) libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x28693000) User's E-mail: theusualrentals at yahoo dot com ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 5.0.0b1 System => FreeBSD www.rickysonline.com 4.8-RELEASE FreeBSD 4.8-RELEASE #2: Fri May i386 Build Date => Jun 29 2003 19:40:19 Configure Command => './configure' '--with-apxs' '--with-mnogosearch=/usr/local' '--with-gd' '--with-jpeg-dir' '--with-zlib-dir' '--enable-rule=EAPI' '--with-curl' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/local/Zend/etc/php.ini PHP API => 20030518 PHP Extension => 20020429 Zend Extension => 90021012 Debug Build => no Thread Safety => disabled Registered PHP Streams => php, http, ftp, compress.zlib This program makes use of the Zend Scripting Language Engine: Zend Engine v2.0.0-dev, Copyright (c) 1998-2003 Zend Technologies _______________________________________________________________________ Configuration PHP Core Directive => Local Value => Master Value allow_call_time_pass_reference => On => On allow_url_fopen => On => On always_populate_raw_post_data => Off => Off arg_separator.input => & => & arg_separator.output => & => & asp_tags => Off => Off auto_append_file => no value => no value auto_prepend_file => no value => no value browscap => no value => no value default_charset => no value => no value default_mimetype => text/html => text/html define_syslog_variables => Off => Off disable_classes => no value => no value disable_functions => no value => no value display_errors => On => On display_startup_errors => On => On 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 => 2039 => 2039 expose_php => Off => Off 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 => Off => Off 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 => no value => no value output_handler => no value => no value post_max_size => 8M => 8M precision => 12 => 12 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 => 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 => EGPCS => EGPCS xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => On => On zend2.implicit_clone => no value => no value ctype ctype functions => enabled curl CURL support => enabled CURL Information => libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.4 dom DOM/XML => enabled DOM/XML API Version => 20030413 libxml Version => 2.5.4 HTML Support => enabled XPath Support => enabled XPointer Support => enabled gd GD Support => enabled GD Version => bundled (2.0.15 compatible) GIF Read Support => enabled JPG Support => enabled PNG Support => enabled WBMP Support => enabled XBM Support => enabled mnogosearch mnoGoSearch Support => enabled mnoGoSearch library version => 30120 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 => On => On session.bug_compat_warn => On => On session.cache_expire => 180 => 180 session.cache_limiter => nocache => nocache session.cookie_domain => no value => no value session.cookie_lifetime => 0 => 0 session.cookie_path => / => / session.cookie_secure => Off => Off session.entropy_file => no value => no value session.entropy_length => 0 => 0 session.gc_divisor => 100 => 100 session.gc_maxlifetime => 1440 => 1440 session.gc_probability => 1 => 1 session.hash_bits_per_character => 4 => 4 session.hash_function => 0 => 0 session.name => Peanut => Peanut session.referer_check => no value => no value session.save_handler => files => files session.save_path => /tmp/sessions => /tmp/sessions 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.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=,fieldset= => a=href,area=href,frame=src,input=src,form=,fieldset= user_agent => no value => no value tokenizer Tokenizer Support => enabled xml XML Support => active XML Namespace Support => active libxml2 Version => 2.5.4 zlib ZLib Support => enabled Compiled Version => 1.1.4 Linked Version => 1.1.4 Directive => Local Value => Master Value zlib.output_compression => On => On zlib.output_compression_level => -1 => -1 zlib.output_handler => no value => no value Additional Modules Module Name Environment Variable => Value CONTENT_TYPE => SSH_CLIENT => deleted USER => root MACHTYPE => i386 MAIL => /var/mail/root VENDOR => intel SHLVL => 1 QUERY_STRING => HOME => /root TEST_PHP_SRCDIR => /root/php-5.0.0b1 SSH_TTY => deleted PAGER => /usr/bin/less CONTENT_LENGTH => VISUAL => /usr/local/bin/vim SCRIPT_FILENAME => PATH_TRANSLATED => GROUP => wheel LOGNAME => root TEST_PHP_EXECUTABLE => /root/php-5.0.0b1/sapi/cli/php BLOCKSIZE => 1024 TERM => linux PATH => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin SSH_AUTH_SOCK => deleted SHELL => /bin/csh HOST => www.rickysonline.com REDIRECT_STATUS => REQUEST_METHOD => OSTYPE => FreeBSD PWD => /root/php-5.0.0b1 FTP_PASSIVE_MODE => YES CC => gcc HOSTTYPE => FreeBSD EDITOR => /usr/local/bin/vim PHP Variables Variable => Value _SERVER["CONTENT_TYPE"] => _SERVER["SSH_CLIENT"] => deleted _SERVER["USER"] => root _SERVER["MACHTYPE"] => i386 _SERVER["MAIL"] => /var/mail/root _SERVER["VENDOR"] => intel _SERVER["SHLVL"] => 1 _SERVER["QUERY_STRING"] => _SERVER["HOME"] => /root _SERVER["TEST_PHP_SRCDIR"] => /root/php-5.0.0b1 _SERVER["SSH_TTY"] => deleted _SERVER["PAGER"] => /usr/bin/less _SERVER["CONTENT_LENGTH"] => _SERVER["VISUAL"] => /usr/local/bin/vim _SERVER["SCRIPT_FILENAME"] => _SERVER["PATH_TRANSLATED"] => _SERVER["GROUP"] => wheel _SERVER["LOGNAME"] => root _SERVER["TEST_PHP_EXECUTABLE"] => /root/php-5.0.0b1/sapi/cli/php _SERVER["BLOCKSIZE"] => 1024 _SERVER["TERM"] => linux _SERVER["PATH"] => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin _SERVER["SSH_AUTH_SOCK"] => deleted _SERVER["SHELL"] => /bin/csh _SERVER["HOST"] => www.rickysonline.com _SERVER["REDIRECT_STATUS"] => _SERVER["REQUEST_METHOD"] => _SERVER["OSTYPE"] => FreeBSD _SERVER["PWD"] => /root/php-5.0.0b1 _SERVER["FTP_PASSIVE_MODE"] => YES _SERVER["CC"] => gcc _SERVER["HOSTTYPE"] => FreeBSD _SERVER["EDITOR"] => /usr/local/bin/vim _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => _ENV["CONTENT_TYPE"] => _ENV["SSH_CLIENT"] => deleted _ENV["USER"] => root _ENV["MACHTYPE"] => i386 _ENV["MAIL"] => /var/mail/root _ENV["VENDOR"] => intel _ENV["SHLVL"] => 1 _ENV["QUERY_STRING"] => _ENV["HOME"] => /root _ENV["TEST_PHP_SRCDIR"] => /root/php-5.0.0b1 _ENV["SSH_TTY"] => deleted _ENV["PAGER"] => /usr/bin/less _ENV["CONTENT_LENGTH"] => _ENV["VISUAL"] => /usr/local/bin/vim _ENV["SCRIPT_FILENAME"] => _ENV["PATH_TRANSLATED"] => _ENV["GROUP"] => wheel _ENV["LOGNAME"] => root _ENV["TEST_PHP_EXECUTABLE"] => /root/php-5.0.0b1/sapi/cli/php _ENV["BLOCKSIZE"] => 1024 _ENV["TERM"] => linux _ENV["PATH"] => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin _ENV["SSH_AUTH_SOCK"] => deleted _ENV["SHELL"] => /bin/csh _ENV["HOST"] => www.rickysonline.com _ENV["REDIRECT_STATUS"] => _ENV["REQUEST_METHOD"] => _ENV["OSTYPE"] => FreeBSD _ENV["PWD"] => /root/php-5.0.0b1 _ENV["FTP_PASSIVE_MODE"] => YES _ENV["CC"] => gcc _ENV["HOSTTYPE"] => FreeBSD _ENV["EDITOR"] => /usr/local/bin/vim 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 (#14607) next »