From: Marcus Boerger Date: Thu, 22 Jan 2004 21:47:54 +0000 (+0000) Subject: Update tests X-Git-Tag: php_ibase_before_split~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=66ed0a49faefe0d5d56142aeee8e15f80ad3e23f;p=php Update tests --- diff --git a/ext/simplexml/tests/007.phpt b/ext/simplexml/tests/007.phpt index d41c84bdeb..5b44b63837 100755 --- a/ext/simplexml/tests/007.phpt +++ b/ext/simplexml/tests/007.phpt @@ -66,20 +66,20 @@ object(simplexml_element)#%d (2) { } } ===Array=== -object(simplexml_element)#2 (1) { +object(simplexml_element)#%d (1) { [0]=> string(5) "elem1" } -object(simplexml_element)#6 (1) { +object(simplexml_element)#%d (1) { [0]=> string(5) "first" } ===Set=== -object(simplexml_element)#6 (1) { +object(simplexml_element)#%d (1) { [0]=> string(8) "Changed1" } -object(simplexml_element)#5 (1) { +object(simplexml_element)#%d (1) { [0]=> string(2) "12" } diff --git a/ext/simplexml/tests/015.phpt b/ext/simplexml/tests/015.phpt index 8b9de2b0a6..0865b69f61 100644 --- a/ext/simplexml/tests/015.phpt +++ b/ext/simplexml/tests/015.phpt @@ -36,20 +36,20 @@ var_dump($people->person[0]['name']); var_dump($people->person[1]['name']); ?> ===DONE=== ---EXPECT-- -object(simplexml_element)#4 (1) { +--EXPECTF-- +object(simplexml_element)#%d (1) { [0]=> string(3) "Joe" } -object(simplexml_element)#4 (1) { +object(simplexml_element)#%d (1) { [0]=> string(3) "Joe" } -object(simplexml_element)#1 (1) { +object(simplexml_element)#%d (1) { [0]=> string(3) "Joe" } -object(simplexml_element)#1 (1) { +object(simplexml_element)#%d (1) { [0]=> string(3) "Boe" } diff --git a/ext/simplexml/tests/016.phpt b/ext/simplexml/tests/016.phpt index ce197d4a63..65870408ef 100644 --- a/ext/simplexml/tests/016.phpt +++ b/ext/simplexml/tests/016.phpt @@ -28,29 +28,29 @@ var_dump($people->person[0]['name']); ?> ===DONE=== ---EXPECT-- -object(simplexml_element)#4 (1) { +--EXPECTF-- +object(simplexml_element)#%d (1) { [0]=> string(3) "Joe" } -object(simplexml_element)#2 (1) { +object(simplexml_element)#%d (1) { [0]=> string(6) "JoeFoo" } -object(simplexml_element)#5 (1) { +object(simplexml_element)#%d (1) { [0]=> string(9) "JoeFooBar" } ---[0]--- -object(simplexml_element)#3 (1) { +object(simplexml_element)#%d (1) { [0]=> string(3) "Joe" } -object(simplexml_element)#2 (1) { +object(simplexml_element)#%d (1) { [0]=> string(6) "JoeFoo" } -object(simplexml_element)#5 (1) { +object(simplexml_element)#%d (1) { [0]=> string(9) "JoeFooBar" } diff --git a/ext/simplexml/tests/bug24392.phpt b/ext/simplexml/tests/bug24392.phpt index 0d654196d4..0a462e5770 100644 --- a/ext/simplexml/tests/bug24392.phpt +++ b/ext/simplexml/tests/bug24392.phpt @@ -2,9 +2,6 @@ Bug #24392 (empty namespaces causing confusion) --SKIPIF-- ---POST-- ---GET-- ---INI-- --FILE--