summaryrefslogtreecommitdiff
path: root/ext/simplexml/tests
diff options
context:
space:
mode:
Diffstat (limited to 'ext/simplexml/tests')
-rw-r--r--ext/simplexml/tests/000.phpt3
-rw-r--r--ext/simplexml/tests/001-mb.phpt2
-rw-r--r--ext/simplexml/tests/001.phpt2
-rw-r--r--ext/simplexml/tests/002.phpt2
-rw-r--r--ext/simplexml/tests/003.phpt2
-rw-r--r--ext/simplexml/tests/004.phpt2
-rw-r--r--ext/simplexml/tests/006.phpt2
-rw-r--r--ext/simplexml/tests/007.phpt2
-rw-r--r--ext/simplexml/tests/009.phpt2
-rw-r--r--ext/simplexml/tests/009b.phpt3
-rw-r--r--ext/simplexml/tests/010.phpt2
-rw-r--r--ext/simplexml/tests/011.phpt2
-rw-r--r--ext/simplexml/tests/013.phpt2
-rw-r--r--ext/simplexml/tests/014.phpt2
-rw-r--r--ext/simplexml/tests/014a.phpt2
-rw-r--r--ext/simplexml/tests/014b.phpt2
-rw-r--r--ext/simplexml/tests/015.phpt2
-rw-r--r--ext/simplexml/tests/016.phpt2
-rw-r--r--ext/simplexml/tests/016a.phpt2
-rw-r--r--ext/simplexml/tests/017.phpt2
-rw-r--r--ext/simplexml/tests/019.phpt2
-rw-r--r--ext/simplexml/tests/020.phpt2
-rw-r--r--ext/simplexml/tests/021.phpt2
-rw-r--r--ext/simplexml/tests/022.phpt2
-rw-r--r--ext/simplexml/tests/023.phpt2
-rw-r--r--ext/simplexml/tests/024.phpt2
-rw-r--r--ext/simplexml/tests/025.phpt3
-rw-r--r--ext/simplexml/tests/026.phpt2
-rw-r--r--ext/simplexml/tests/027.phpt2
-rw-r--r--ext/simplexml/tests/028.phpt2
-rw-r--r--ext/simplexml/tests/029.phpt2
-rw-r--r--ext/simplexml/tests/030.phpt2
-rw-r--r--ext/simplexml/tests/031.phpt2
-rw-r--r--ext/simplexml/tests/032.phpt2
-rw-r--r--ext/simplexml/tests/033.phpt2
-rw-r--r--ext/simplexml/tests/035.phpt2
-rw-r--r--ext/simplexml/tests/036.phpt2
-rw-r--r--ext/simplexml/tests/037.phpt2
-rw-r--r--ext/simplexml/tests/bug27010.phpt2
-rw-r--r--ext/simplexml/tests/bug35785.phpt3
-rw-r--r--ext/simplexml/tests/bug36611.phpt2
-rw-r--r--ext/simplexml/tests/bug37076.phpt2
-rw-r--r--ext/simplexml/tests/bug37076_1.phpt2
-rw-r--r--ext/simplexml/tests/bug37565.phpt2
-rw-r--r--ext/simplexml/tests/bug40451.phpt2
-rw-r--r--ext/simplexml/tests/bug41175.phpt2
-rw-r--r--ext/simplexml/tests/bug41582.phpt2
-rw-r--r--ext/simplexml/tests/bug41861.phpt2
-rw-r--r--ext/simplexml/tests/bug41867.phpt2
-rw-r--r--ext/simplexml/tests/bug41947.phpt2
-rw-r--r--ext/simplexml/tests/bug42259.phpt2
-rw-r--r--ext/simplexml/tests/bug42369.phpt2
-rw-r--r--ext/simplexml/tests/bug43221.phpt2
-rw-r--r--ext/simplexml/tests/bug44478.phpt2
-rw-r--r--ext/simplexml/tests/bug45553.phpt2
-rw-r--r--ext/simplexml/tests/bug46003.phpt2
-rw-r--r--ext/simplexml/tests/bug46047.phpt2
-rw-r--r--ext/simplexml/tests/bug46048.phpt2
-rw-r--r--ext/simplexml/tests/bug75245.phpt2
-rw-r--r--ext/simplexml/tests/bug76712.phpt2
-rw-r--r--ext/simplexml/tests/feature55218.phpt2
-rw-r--r--ext/simplexml/tests/profile11.phpt2
-rw-r--r--ext/simplexml/tests/profile12.phpt2
-rw-r--r--ext/simplexml/tests/profile13.phpt3
-rw-r--r--ext/simplexml/tests/sxe_001.phpt2
-rw-r--r--ext/simplexml/tests/sxe_002.phpt2
-rw-r--r--ext/simplexml/tests/sxe_003.phpt2
-rw-r--r--ext/simplexml/tests/sxe_004.phpt2
-rw-r--r--ext/simplexml/tests/sxe_005.phpt2
69 files changed, 0 insertions, 143 deletions
diff --git a/ext/simplexml/tests/000.phpt b/ext/simplexml/tests/000.phpt
index d70a038ffa..f777c67275 100644
--- a/ext/simplexml/tests/000.phpt
+++ b/ext/simplexml/tests/000.phpt
@@ -35,8 +35,6 @@ test('sxe->elem22->attr22');
test('sxe->elem22["attr22"]');
?>
-===DONE===
-<?php exit(0); ?>
--EXPECTF--
===sxe
bool(true)
@@ -244,4 +242,3 @@ NULL
bool(false)
bool(false)
NULL
-===DONE===
diff --git a/ext/simplexml/tests/001-mb.phpt b/ext/simplexml/tests/001-mb.phpt
index ada0f7d352..860f5e0974 100644
--- a/ext/simplexml/tests/001-mb.phpt
+++ b/ext/simplexml/tests/001-mb.phpt
@@ -8,7 +8,6 @@ SimpleXML: Simple document
var_dump(simplexml_load_file(__DIR__.'/sxe私はガラスを食べられます.xml'));
?>
-===DONE===
--EXPECTF--
object(SimpleXMLElement)#%d (2) {
["@attributes"]=>
@@ -40,4 +39,3 @@ object(SimpleXMLElement)#%d (2) {
}
}
}
-===DONE===
diff --git a/ext/simplexml/tests/001.phpt b/ext/simplexml/tests/001.phpt
index 5820c55325..37f94363c5 100644
--- a/ext/simplexml/tests/001.phpt
+++ b/ext/simplexml/tests/001.phpt
@@ -8,7 +8,6 @@ SimpleXML: Simple document
var_dump(simplexml_load_file(__DIR__.'/sxe.xml'));
?>
-===DONE===
--EXPECTF--
object(SimpleXMLElement)#%d (2) {
["@attributes"]=>
@@ -40,4 +39,3 @@ object(SimpleXMLElement)#%d (2) {
}
}
}
-===DONE===
diff --git a/ext/simplexml/tests/002.phpt b/ext/simplexml/tests/002.phpt
index 1d8ba4032a..108ddb6424 100644
--- a/ext/simplexml/tests/002.phpt
+++ b/ext/simplexml/tests/002.phpt
@@ -29,7 +29,6 @@ $copy = clone $sxe;
var_dump($copy);
?>
-===DONE===
--EXPECTF--
object(SimpleXMLElement)#%d (2) {
["@attributes"]=>
@@ -61,4 +60,3 @@ object(SimpleXMLElement)#%d (2) {
}
}
}
-===DONE===
diff --git a/ext/simplexml/tests/003.phpt b/ext/simplexml/tests/003.phpt
index 5b989b85d4..55a74a55ba 100644
--- a/ext/simplexml/tests/003.phpt
+++ b/ext/simplexml/tests/003.phpt
@@ -29,7 +29,6 @@ EOF;
var_dump(simplexml_load_string($xml));
?>
-===DONE===
--EXPECTF--
object(SimpleXMLElement)#%d (2) {
["@attributes"]=>
@@ -66,4 +65,3 @@ object(SimpleXMLElement)#%d (2) {
}
}
}
-===DONE===
diff --git a/ext/simplexml/tests/004.phpt b/ext/simplexml/tests/004.phpt
index ffb4db0db6..b4493a3c5d 100644
--- a/ext/simplexml/tests/004.phpt
+++ b/ext/simplexml/tests/004.phpt
@@ -32,7 +32,6 @@ $elem2 = $elem1->elem2;
var_dump(trim((string)$elem2));
?>
-===DONE===
--EXPECTF--
object(SimpleXMLElement)#%d (2) {
["@attributes"]=>
@@ -65,4 +64,3 @@ object(SimpleXMLElement)#%d (2) {
}
}
string(11) "CDATA block"
-===DONE===
diff --git a/ext/simplexml/tests/006.phpt b/ext/simplexml/tests/006.phpt
index bf4270f449..19df52c450 100644
--- a/ext/simplexml/tests/006.phpt
+++ b/ext/simplexml/tests/006.phpt
@@ -60,7 +60,6 @@ foreach($sxe->elem1 as $name => $data) {
}
?>
-===DONE===
--EXPECT--
string(5) "elem1"
string(10) "Bla bla 1."
@@ -77,4 +76,3 @@ string(10) "Bla bla 2."
===COMMENT===
string(5) "elem1"
string(10) "Bla bla 1."
-===DONE===
diff --git a/ext/simplexml/tests/007.phpt b/ext/simplexml/tests/007.phpt
index 065e794c48..fbd9439dca 100644
--- a/ext/simplexml/tests/007.phpt
+++ b/ext/simplexml/tests/007.phpt
@@ -45,7 +45,6 @@ var_dump($a);
$dummy = $sxe->elem1[$a];
var_dump($a);
?>
-===Done===
--EXPECTF--
===Property===
object(SimpleXMLElement)#%d (3) {
@@ -94,4 +93,3 @@ NULL
===Misc.===
int(4)
int(4)
-===Done===
diff --git a/ext/simplexml/tests/009.phpt b/ext/simplexml/tests/009.phpt
index 2800f3add9..696580d49e 100644
--- a/ext/simplexml/tests/009.phpt
+++ b/ext/simplexml/tests/009.phpt
@@ -34,7 +34,6 @@ foreach($sxe->children() as $name=>$val) {
var_dump(trim($val));
}
?>
-===DONE===
--EXPECT--
string(5) "elem1"
string(16) "SimpleXMLElement"
@@ -42,4 +41,3 @@ string(10) "Bla bla 1."
string(6) "elem11"
string(16) "SimpleXMLElement"
string(10) "Bla bla 2."
-===DONE===
diff --git a/ext/simplexml/tests/009b.phpt b/ext/simplexml/tests/009b.phpt
index fd920e2e26..bc651fe744 100644
--- a/ext/simplexml/tests/009b.phpt
+++ b/ext/simplexml/tests/009b.phpt
@@ -18,8 +18,6 @@ EOF
);
var_dump($sxe->children());
?>
-===DONE===
-<?php exit(0); ?>
--EXPECTF--
object(SimpleXMLElement)#%d (3) {
["@attributes"]=>
@@ -32,4 +30,3 @@ object(SimpleXMLElement)#%d (3) {
["elem11"]=>
string(10) "Bla bla 2."
}
-===DONE===
diff --git a/ext/simplexml/tests/010.phpt b/ext/simplexml/tests/010.phpt
index 63daf800d1..e251472d15 100644
--- a/ext/simplexml/tests/010.phpt
+++ b/ext/simplexml/tests/010.phpt
@@ -29,7 +29,6 @@ EOF;
var_dump(simplexml_load_string($xml, 'simplexml_inherited'));
?>
-===DONE===
--EXPECTF--
object(simplexml_inherited)#%d (2) {
["@attributes"]=>
@@ -61,4 +60,3 @@ object(simplexml_inherited)#%d (2) {
}
}
}
-===DONE===
diff --git a/ext/simplexml/tests/011.phpt b/ext/simplexml/tests/011.phpt
index 1d5c193f3b..06f3e791c3 100644
--- a/ext/simplexml/tests/011.phpt
+++ b/ext/simplexml/tests/011.phpt
@@ -34,7 +34,6 @@ echo "===BAZ1===\n";
print $sxe->baz[1];
echo "\n";
?>
-===DONE===
--EXPECT--
===BAR===
bar
@@ -44,4 +43,3 @@ baz1
baz1
===BAZ1===
baz2
-===DONE===
diff --git a/ext/simplexml/tests/013.phpt b/ext/simplexml/tests/013.phpt
index cf58461451..59e6672a1f 100644
--- a/ext/simplexml/tests/013.phpt
+++ b/ext/simplexml/tests/013.phpt
@@ -17,7 +17,5 @@ $sxe = simplexml_load_string($xml);
var_dump((string)$sxe);
?>
-===DONE===
--EXPECT--
string(6) "barbar"
-===DONE===
diff --git a/ext/simplexml/tests/014.phpt b/ext/simplexml/tests/014.phpt
index b0c1dd952f..b1681582f9 100644
--- a/ext/simplexml/tests/014.phpt
+++ b/ext/simplexml/tests/014.phpt
@@ -29,7 +29,6 @@ var_dump($people->person['age']);
$people->person['age'] += 5;
var_dump($people->person['age']);
?>
-===DONE===
--EXPECTF--
object(SimpleXMLElement)#%d (1) {
[0]=>
@@ -57,4 +56,3 @@ object(SimpleXMLElement)#%d (1) {
[0]=>
string(2) "35"
}
-===DONE===
diff --git a/ext/simplexml/tests/014a.phpt b/ext/simplexml/tests/014a.phpt
index f778c25f12..98fda260c8 100644
--- a/ext/simplexml/tests/014a.phpt
+++ b/ext/simplexml/tests/014a.phpt
@@ -28,7 +28,6 @@ var_dump($people->person[0]['age']);
$people->person['age'] += 5;
var_dump($people->person[0]['age']);
?>
-===DONE===
--EXPECTF--
object(SimpleXMLElement)#%d (1) {
[0]=>
@@ -53,4 +52,3 @@ object(SimpleXMLElement)#%d (1) {
[0]=>
string(1) "5"
}
-===DONE===
diff --git a/ext/simplexml/tests/014b.phpt b/ext/simplexml/tests/014b.phpt
index 0daa9c5c97..14d45491df 100644
--- a/ext/simplexml/tests/014b.phpt
+++ b/ext/simplexml/tests/014b.phpt
@@ -28,7 +28,6 @@ echo "---Unsupported---\n";
$people->person[1]['age'] += 5;
var_dump($people->person[1]['age']);
?>
-===DONE===
--EXPECTF--
object(SimpleXMLElement)#%d (1) {
[0]=>
@@ -52,4 +51,3 @@ object(SimpleXMLElement)#%d (1) {
[0]=>
string(1) "5"
}
-===DONE===
diff --git a/ext/simplexml/tests/015.phpt b/ext/simplexml/tests/015.phpt
index d80d4d114c..977eab756a 100644
--- a/ext/simplexml/tests/015.phpt
+++ b/ext/simplexml/tests/015.phpt
@@ -35,7 +35,6 @@ $people = simplexml_load_string($xml2);
var_dump($people->person[0]['name']);
var_dump($people->person[1]['name']);
?>
-===DONE===
--EXPECTF--
object(SimpleXMLElement)#%d (1) {
[0]=>
@@ -53,4 +52,3 @@ object(SimpleXMLElement)#%d (1) {
[0]=>
string(3) "Boe"
}
-===DONE===
diff --git a/ext/simplexml/tests/016.phpt b/ext/simplexml/tests/016.phpt
index 97981214db..59b64e0b48 100644
--- a/ext/simplexml/tests/016.phpt
+++ b/ext/simplexml/tests/016.phpt
@@ -27,7 +27,6 @@ $people->person[0]['name'] .= 'Bar';
var_dump($people->person[0]['name']);
?>
-===DONE===
--EXPECTF--
object(SimpleXMLElement)#%d (1) {
[0]=>
@@ -54,4 +53,3 @@ object(SimpleXMLElement)#%d (1) {
[0]=>
string(9) "JoeFooBar"
}
-===DONE===
diff --git a/ext/simplexml/tests/016a.phpt b/ext/simplexml/tests/016a.phpt
index 7cc8b33123..06dbfeb303 100644
--- a/ext/simplexml/tests/016a.phpt
+++ b/ext/simplexml/tests/016a.phpt
@@ -16,7 +16,6 @@ $people->person['name'] .= 'Bar';
var_dump($people->person['name']);
?>
-===DONE===
--EXPECTF--
object(SimpleXMLElement)#%d (1) {
[0]=>
@@ -26,4 +25,3 @@ object(SimpleXMLElement)#%d (1) {
[0]=>
string(6) "FooBar"
}
-===DONE===
diff --git a/ext/simplexml/tests/017.phpt b/ext/simplexml/tests/017.phpt
index 42d6e3eccc..3b399149cd 100644
--- a/ext/simplexml/tests/017.phpt
+++ b/ext/simplexml/tests/017.phpt
@@ -52,7 +52,6 @@ print_xml2(simplexml_load_string($xml));
echo "---22---\n";
print_xml2(simplexml_load_string($xml1));
?>
-===DONE===
--EXPECT--
---11---
person: Joe
@@ -74,4 +73,3 @@ person: Boe
---22---
person: Joe
child: Ann
-===DONE===
diff --git a/ext/simplexml/tests/019.phpt b/ext/simplexml/tests/019.phpt
index db15a69ff7..b2406e0991 100644
--- a/ext/simplexml/tests/019.phpt
+++ b/ext/simplexml/tests/019.phpt
@@ -60,7 +60,6 @@ foreach($sxe->elem1->children() as $name => $data) {
}
?>
-===DONE===
--EXPECT--
string(5) "elem1"
string(10) "Bla bla 1."
@@ -77,4 +76,3 @@ string(7) "Foo Bar"
===COMMENT===
string(5) "elem2"
string(28) "Here we have some text data."
-===DONE===
diff --git a/ext/simplexml/tests/020.phpt b/ext/simplexml/tests/020.phpt
index 40d04a7927..028b917f04 100644
--- a/ext/simplexml/tests/020.phpt
+++ b/ext/simplexml/tests/020.phpt
@@ -14,8 +14,6 @@ if ($doc->name["attr"] == "foo") {
print "Error\n";
}
?>
-===DONE===
--EXPECT--
foo
Works
-===DONE===
diff --git a/ext/simplexml/tests/021.phpt b/ext/simplexml/tests/021.phpt
index c2b38d30ae..e1355fd5ed 100644
--- a/ext/simplexml/tests/021.phpt
+++ b/ext/simplexml/tests/021.phpt
@@ -19,7 +19,5 @@ if ($ok) {
print "Error\n";
}
?>
-===DONE===
--EXPECT--
Works
-===DONE===
diff --git a/ext/simplexml/tests/022.phpt b/ext/simplexml/tests/022.phpt
index 338b61d0ed..58222e8a68 100644
--- a/ext/simplexml/tests/022.phpt
+++ b/ext/simplexml/tests/022.phpt
@@ -26,7 +26,6 @@ foreach($sxe->content->file as $file)
}
?>
-===DONE===
--EXPECTF--
===CONTENT===
object(SimpleXMLElement)#%d (1) {
@@ -59,4 +58,3 @@ object(SimpleXMLElement)#%d (1) {
[0]=>
string(11) "slide_*.xml"
}
-===DONE===
diff --git a/ext/simplexml/tests/023.phpt b/ext/simplexml/tests/023.phpt
index 9ae6ec8813..59ea90dc02 100644
--- a/ext/simplexml/tests/023.phpt
+++ b/ext/simplexml/tests/023.phpt
@@ -20,7 +20,6 @@ $sxe = simplexml_load_string($xml);
var_dump($sxe);
var_dump($sxe['attr']);
?>
-===DONE===
--EXPECTF--
object(SimpleXMLElement)#%d (1) {
["@attributes"]=>
@@ -33,4 +32,3 @@ object(SimpleXMLElement)#%d (1) {
[0]=>
string(%d) "foo%sbar%sbaz"
}
-===DONE===
diff --git a/ext/simplexml/tests/024.phpt b/ext/simplexml/tests/024.phpt
index 9f31fd5e93..789b99a648 100644
--- a/ext/simplexml/tests/024.phpt
+++ b/ext/simplexml/tests/024.phpt
@@ -30,7 +30,6 @@ test('//@*');
test('elem[2]/@attr2');
?>
-===DONE===
--EXPECTF--
===elem/@attr2===
array(3) {
@@ -172,4 +171,3 @@ array(1) {
}
}
}
-===DONE===
diff --git a/ext/simplexml/tests/025.phpt b/ext/simplexml/tests/025.phpt
index 955410a5ee..a4acdc7331 100644
--- a/ext/simplexml/tests/025.phpt
+++ b/ext/simplexml/tests/025.phpt
@@ -46,8 +46,6 @@ var_dump($sxe->getNamespaces());
var_dump($sxe->getDocNamespaces());
?>
-===DONE===
-<?php exit(0); ?>
--EXPECT--
array(1) {
["xhtml"]=>
@@ -89,4 +87,3 @@ array(0) {
}
array(0) {
}
-===DONE===
diff --git a/ext/simplexml/tests/026.phpt b/ext/simplexml/tests/026.phpt
index cf17c7d513..d93cd1fe79 100644
--- a/ext/simplexml/tests/026.phpt
+++ b/ext/simplexml/tests/026.phpt
@@ -31,10 +31,8 @@ $people = simplexml_load_string($xml);
traverse_xml($people);
?>
-===DONE===
--EXPECT--
<people>
<person>Jane
</person>
</people>
-===DONE===
diff --git a/ext/simplexml/tests/027.phpt b/ext/simplexml/tests/027.phpt
index 193456aace..4cb60d7793 100644
--- a/ext/simplexml/tests/027.phpt
+++ b/ext/simplexml/tests/027.phpt
@@ -42,7 +42,6 @@ traverse_xml($people);
$people->person[3]['gender'] = 'error';
traverse_xml($people);
?>
-===DONE===
--EXPECTF--
<people>
</people>
@@ -80,4 +79,3 @@ Warning: main(): Cannot add element person number 3 when only 2 such elements ex
<person gender="error">
</person>
</people>
-===DONE===
diff --git a/ext/simplexml/tests/028.phpt b/ext/simplexml/tests/028.phpt
index c68cfd21b9..4199d36804 100644
--- a/ext/simplexml/tests/028.phpt
+++ b/ext/simplexml/tests/028.phpt
@@ -31,7 +31,6 @@ $people->person['name'] = 'John';
traverse_xml($people);
?>
-===DONE===
--EXPECT--
<people>
</people>
@@ -39,4 +38,3 @@ traverse_xml($people);
<person name="John">
</person>
</people>
-===DONE===
diff --git a/ext/simplexml/tests/029.phpt b/ext/simplexml/tests/029.phpt
index 5a31c7d197..41d00d80d3 100644
--- a/ext/simplexml/tests/029.phpt
+++ b/ext/simplexml/tests/029.phpt
@@ -26,7 +26,6 @@ foreach($people as $person)
}
?>
-===DONE===
--EXPECT--
string(3) "Joe"
int(3)
@@ -37,4 +36,3 @@ int(1)
string(4) "Jane"
int(3)
int(0)
-===DONE===
diff --git a/ext/simplexml/tests/030.phpt b/ext/simplexml/tests/030.phpt
index 4d27f40ed1..417c5a7f11 100644
--- a/ext/simplexml/tests/030.phpt
+++ b/ext/simplexml/tests/030.phpt
@@ -30,7 +30,6 @@ var_dump(isset($atts[0]));
var_dump(isset($atts[TRUE]));
?>
-===DONE===
--EXPECT--
test
test 2
@@ -41,4 +40,3 @@ bool(false)
bool(true)
bool(false)
bool(false)
-===DONE===
diff --git a/ext/simplexml/tests/031.phpt b/ext/simplexml/tests/031.phpt
index 143e57f59e..c26cad0637 100644
--- a/ext/simplexml/tests/031.phpt
+++ b/ext/simplexml/tests/031.phpt
@@ -43,7 +43,6 @@ $sxe->addChild('s:test5', 'myval');
echo $sxe->asXML();
?>
-===DONE===
--EXPECTF--
Warning: SimpleXMLElement::addAttribute(): Attribute already exists in %s031.php on line %d
@@ -54,4 +53,3 @@ Warning: SimpleXMLElement::addChild(): Cannot add element to attributes in %s031
<child1>test 2</child1>
<s:child3/>
<s:test1>myval</s:test1><m:test2 xmlns:m="urn::testnew">myval</m:test2><test3 xmlns="urn::testnew">myval</test3><test4>myval</test4><test5>myval</test5></root>
-===DONE===
diff --git a/ext/simplexml/tests/032.phpt b/ext/simplexml/tests/032.phpt
index c1d0b88b62..d09281d057 100644
--- a/ext/simplexml/tests/032.phpt
+++ b/ext/simplexml/tests/032.phpt
@@ -37,9 +37,7 @@ var_dump($people2 == $people);
var_dump($people2 == $people1);
?>
-===DONE===
--EXPECT--
bool(false)
bool(false)
bool(false)
-===DONE===
diff --git a/ext/simplexml/tests/033.phpt b/ext/simplexml/tests/033.phpt
index ba01b21555..437af7d41f 100644
--- a/ext/simplexml/tests/033.phpt
+++ b/ext/simplexml/tests/033.phpt
@@ -35,7 +35,6 @@ var_dump((object)$foo);
var_dump((object)$people);
?>
-===DONE===
--EXPECTF--
bool(false)
bool(true)
@@ -134,4 +133,3 @@ object(SimpleXMLElement)#%d (1) {
}
}
}
-===DONE===
diff --git a/ext/simplexml/tests/035.phpt b/ext/simplexml/tests/035.phpt
index 2162c865f3..f6e911962c 100644
--- a/ext/simplexml/tests/035.phpt
+++ b/ext/simplexml/tests/035.phpt
@@ -18,9 +18,7 @@ echo $p."\n";
echo $p->__toString()."\n";
echo $p."\n";
?>
-==Done==
--EXPECT--
Blah 1
Blah 1
Blah 1
-==Done==
diff --git a/ext/simplexml/tests/036.phpt b/ext/simplexml/tests/036.phpt
index 24bfe60e7d..5c2d688def 100644
--- a/ext/simplexml/tests/036.phpt
+++ b/ext/simplexml/tests/036.phpt
@@ -15,8 +15,6 @@ $str = '<xml><c>asdf</c><c>ghjk</c></xml>';
$sxe = new SXE($str);
var_dump(count($sxe));
?>
-==Done==
--EXPECT--
Called Count!
int(2)
-==Done==
diff --git a/ext/simplexml/tests/037.phpt b/ext/simplexml/tests/037.phpt
index 7a141658c7..b18b7fec41 100644
--- a/ext/simplexml/tests/037.phpt
+++ b/ext/simplexml/tests/037.phpt
@@ -9,7 +9,5 @@ $str = '<xml></xml>';
$sxe = new SimpleXmlElement($str);
var_dump($sxe instanceof Countable);
?>
-==Done==
--EXPECT--
bool(true)
-==Done==
diff --git a/ext/simplexml/tests/bug27010.phpt b/ext/simplexml/tests/bug27010.phpt
index 364ca4675f..e512fbd7b2 100644
--- a/ext/simplexml/tests/bug27010.phpt
+++ b/ext/simplexml/tests/bug27010.phpt
@@ -25,10 +25,8 @@ foreach ($sxe->children('http://www.example.com/hot') as $element_name => $eleme
}
?>
-===DONE===
--EXPECT--
drink is Cola
drink is Juice
drink is Coffee
drink is Tea
-===DONE===
diff --git a/ext/simplexml/tests/bug35785.phpt b/ext/simplexml/tests/bug35785.phpt
index 10bae9ca10..420515bb03 100644
--- a/ext/simplexml/tests/bug35785.phpt
+++ b/ext/simplexml/tests/bug35785.phpt
@@ -16,8 +16,6 @@ $xml = simplexml_load_string("<root></root>");
$xml->bla->posts[]->name = "FooBar";
echo $xml->asXML();
?>
-===DONE===
-<?php exit(0); __halt_compiler(); ?>
--EXPECT--
<?xml version="1.0"?>
<root><bla><posts><name>FooBar</name></posts></bla></root>
@@ -26,4 +24,3 @@ bool(false)
<root><bla><posts><name>FooBar</name></posts></bla></root>
<?xml version="1.0"?>
<root><bla><posts><name>FooBar</name></posts></bla></root>
-===DONE===
diff --git a/ext/simplexml/tests/bug36611.phpt b/ext/simplexml/tests/bug36611.phpt
index 34c92ce0bc..672e11c750 100644
--- a/ext/simplexml/tests/bug36611.phpt
+++ b/ext/simplexml/tests/bug36611.phpt
@@ -23,8 +23,6 @@ $xml->pos["act_idx"] = $val;
var_dump($val);
?>
-===DONE===
--EXPECT--
int(1)
int(1)
-===DONE===
diff --git a/ext/simplexml/tests/bug37076.phpt b/ext/simplexml/tests/bug37076.phpt
index c7f19b3cc2..41e2f9a4c2 100644
--- a/ext/simplexml/tests/bug37076.phpt
+++ b/ext/simplexml/tests/bug37076.phpt
@@ -9,8 +9,6 @@ $xml->foo = "foo";
$xml->foo .= "bar";
print $xml->asXML();
?>
-===DONE===
--EXPECT--
<?xml version="1.0"?>
<root><foo>foobar</foo></root>
-===DONE===
diff --git a/ext/simplexml/tests/bug37076_1.phpt b/ext/simplexml/tests/bug37076_1.phpt
index d4f4e03337..019915a1b4 100644
--- a/ext/simplexml/tests/bug37076_1.phpt
+++ b/ext/simplexml/tests/bug37076_1.phpt
@@ -8,11 +8,9 @@ $xml = simplexml_load_string("<root><foo /></root>");
$xml->{""} .= "bar";
print $xml->asXML();
?>
-===DONE===
--EXPECTF--
Warning: main(): Cannot write or create unnamed element in %s on line %d
Warning: main(): Cannot write or create unnamed element in %s on line %d
<?xml version="1.0"?>
<root><foo/></root>
-===DONE===
diff --git a/ext/simplexml/tests/bug37565.phpt b/ext/simplexml/tests/bug37565.phpt
index d20fbd5aca..41ecbd3e27 100644
--- a/ext/simplexml/tests/bug37565.phpt
+++ b/ext/simplexml/tests/bug37565.phpt
@@ -28,8 +28,6 @@ try {
}
?>
-===DONE===
--EXPECT--
Error: simplexml_load_string() expects parameter 2 to be a class name derived from SimpleXMLElement, 'Setting' given
Error: simplexml_load_file() expects parameter 2 to be a class name derived from SimpleXMLElement, 'Setting' given
-===DONE===
diff --git a/ext/simplexml/tests/bug40451.phpt b/ext/simplexml/tests/bug40451.phpt
index cf44926a5e..dfecc25d1f 100644
--- a/ext/simplexml/tests/bug40451.phpt
+++ b/ext/simplexml/tests/bug40451.phpt
@@ -18,7 +18,5 @@ $add = $xml->addChild('Host');
$add->Host->addAttribute('enable', 'true');
?>
-===DONE===
--EXPECTF--
Warning: SimpleXMLElement::addAttribute(): Unable to locate parent Element in %s on line %d
-===DONE===
diff --git a/ext/simplexml/tests/bug41175.phpt b/ext/simplexml/tests/bug41175.phpt
index ae0204e05a..587eecd265 100644
--- a/ext/simplexml/tests/bug41175.phpt
+++ b/ext/simplexml/tests/bug41175.phpt
@@ -11,8 +11,6 @@ $xml->addAttribute("alt", "");
echo $xml->asXML();
?>
-===DONE===
--EXPECT--
<?xml version="1.0"?>
<img src="foo" alt=""/>
-===DONE===
diff --git a/ext/simplexml/tests/bug41582.phpt b/ext/simplexml/tests/bug41582.phpt
index 8733810d71..b270f3b639 100644
--- a/ext/simplexml/tests/bug41582.phpt
+++ b/ext/simplexml/tests/bug41582.phpt
@@ -13,8 +13,6 @@ $xml->movie[]->characters->character[0]->name = 'Miss Coder';
echo($xml->asXml());
?>
-===DONE===
--EXPECT--
<?xml version="1.0" standalone="yes"?>
<collection><movie><characters><character><name>Miss Coder</name></character></characters></movie></collection>
-===DONE===
diff --git a/ext/simplexml/tests/bug41861.phpt b/ext/simplexml/tests/bug41861.phpt
index 607d301f7b..50c780f9ab 100644
--- a/ext/simplexml/tests/bug41861.phpt
+++ b/ext/simplexml/tests/bug41861.phpt
@@ -30,7 +30,6 @@ foreach (array(null, '#ns1', '#ns2', '#ns3') as $ns)
}
}
?>
-===DONE===
--EXPECT--
root(recursive): 'root' -- namespaces: #ns1, #ns2, #ns3
root(non-recursive): 'root' -- namespaces:
@@ -39,4 +38,3 @@ children(): 'last_node_no_ns' -- namespaces:
children(#ns1): 'node1' -- namespaces: #ns1
children(#ns2): 'node2' -- namespaces: #ns2
children(#ns3): 'node3' -- namespaces: #ns3
-===DONE===
diff --git a/ext/simplexml/tests/bug41867.phpt b/ext/simplexml/tests/bug41867.phpt
index 33e2de9e22..4c0b3ac1b5 100644
--- a/ext/simplexml/tests/bug41867.phpt
+++ b/ext/simplexml/tests/bug41867.phpt
@@ -10,9 +10,7 @@ echo $a->getName()."\n";
echo $a->b->getName()."\n";
echo $a->b->c->getName()."\n";
?>
-===DONE===
--EXPECT--
a
b
c
-===DONE===
diff --git a/ext/simplexml/tests/bug41947.phpt b/ext/simplexml/tests/bug41947.phpt
index 0b974ce4f5..69e1ed0283 100644
--- a/ext/simplexml/tests/bug41947.phpt
+++ b/ext/simplexml/tests/bug41947.phpt
@@ -12,7 +12,5 @@ if (count($gchild) > 0) {
echo $gchild[0]."\n";
}
?>
-===DONE===
--EXPECT--
hello
-===DONE===
diff --git a/ext/simplexml/tests/bug42259.phpt b/ext/simplexml/tests/bug42259.phpt
index 19c02a577a..f817291cdd 100644
--- a/ext/simplexml/tests/bug42259.phpt
+++ b/ext/simplexml/tests/bug42259.phpt
@@ -37,7 +37,6 @@ foreach ($rit as $child) {
echo count($ancestry) . ' steps: ' . $path . PHP_EOL;
}
?>
-===DONE===
--EXPECT--
3 steps: xml/fieldset1/field1
3 steps: xml/fieldset1/field2
@@ -46,4 +45,3 @@ foreach ($rit as $child) {
4 steps: xml/fieldset2/options/option3
3 steps: xml/fieldset2/field1
3 steps: xml/fieldset2/field2
-===DONE===
diff --git a/ext/simplexml/tests/bug42369.phpt b/ext/simplexml/tests/bug42369.phpt
index f8e030526c..44781b76d3 100644
--- a/ext/simplexml/tests/bug42369.phpt
+++ b/ext/simplexml/tests/bug42369.phpt
@@ -18,8 +18,6 @@ Bug #42369 (Implicit conversion to string leaks memory)
}
?>
-===DONE===
--EXPECT--
explicit conversion
no conversion
-===DONE===
diff --git a/ext/simplexml/tests/bug43221.phpt b/ext/simplexml/tests/bug43221.phpt
index bac2277597..a0ef582ec0 100644
--- a/ext/simplexml/tests/bug43221.phpt
+++ b/ext/simplexml/tests/bug43221.phpt
@@ -11,10 +11,8 @@ $n->addAttribute("c", "d", "http://bar.com");
$n->addAttribute("foo:e", "f", "http://bar.com");
print_r($xml->asXml());
?>
-===DONE===
--EXPECTF--
Warning: SimpleXMLElement::addAttribute(): Attribute requires prefix for namespace in %sbug43221.php on line %d
<?xml version="1.0" encoding="utf-8"?>
<root><node xmlns:foo="http://bar.com" a="b" foo:e="f">value</node></root>
-===DONE===
diff --git a/ext/simplexml/tests/bug44478.phpt b/ext/simplexml/tests/bug44478.phpt
index 34630593f8..013fceb235 100644
--- a/ext/simplexml/tests/bug44478.phpt
+++ b/ext/simplexml/tests/bug44478.phpt
@@ -17,7 +17,6 @@ print $xml_element->node2."\n";
print $xml_element->asXML();
?>
-===DONE===
--EXPECT--
a &#38; b
a &#38; b
@@ -25,5 +24,4 @@ a & b
a & b
<?xml version="1.0"?>
<root><node1>a &amp;#38; b</node1><node2>a &amp; b</node2></root>
-===DONE===
diff --git a/ext/simplexml/tests/bug45553.phpt b/ext/simplexml/tests/bug45553.phpt
index 9147fdaba1..f4737bdc86 100644
--- a/ext/simplexml/tests/bug45553.phpt
+++ b/ext/simplexml/tests/bug45553.phpt
@@ -25,12 +25,10 @@ echo $atts[0] . "\n";
$atts = $x->xpath("/xml/data/@label");
echo $atts[0] . "\n";
?>
-===DONE===
--EXPECT--
I am A
I am a:Nothing
I am a:A
I am a:Nothing
I am Nothing
-===DONE===
diff --git a/ext/simplexml/tests/bug46003.phpt b/ext/simplexml/tests/bug46003.phpt
index 1a67c6e9ee..619148e108 100644
--- a/ext/simplexml/tests/bug46003.phpt
+++ b/ext/simplexml/tests/bug46003.phpt
@@ -23,7 +23,6 @@ var_dump(isset($x->o->zz));
var_dump(isset($x->o->text));
var_dump(isset($x->o->xx));
?>
-===DONE===
--EXPECT--
bool(true)
bool(false)
@@ -31,5 +30,4 @@ bool(true)
bool(false)
bool(false)
bool(true)
-===DONE===
diff --git a/ext/simplexml/tests/bug46047.phpt b/ext/simplexml/tests/bug46047.phpt
index 921da30bd1..b8899a4312 100644
--- a/ext/simplexml/tests/bug46047.phpt
+++ b/ext/simplexml/tests/bug46047.phpt
@@ -14,7 +14,6 @@ print_r($xml);
$xml = new SimpleXMLElement('<foo><bar/><baz/></foo>');
print_r($xml);
?>
-===DONE===
--EXPECT--
SimpleXMLElement Object
(
@@ -49,5 +48,4 @@ SimpleXMLElement Object
)
)
-===DONE===
diff --git a/ext/simplexml/tests/bug46048.phpt b/ext/simplexml/tests/bug46048.phpt
index 3a3e7d54ef..35a9a56625 100644
--- a/ext/simplexml/tests/bug46048.phpt
+++ b/ext/simplexml/tests/bug46048.phpt
@@ -12,7 +12,6 @@ $xml = '
$obj = simplexml_load_string($xml);
print_r(get_object_vars($obj));
?>
-===DONE===
--EXPECT--
Array
(
@@ -23,4 +22,3 @@ Array
[key] => value
)
-===DONE===
diff --git a/ext/simplexml/tests/bug75245.phpt b/ext/simplexml/tests/bug75245.phpt
index 4a7a7caf0b..fa795ff685 100644
--- a/ext/simplexml/tests/bug75245.phpt
+++ b/ext/simplexml/tests/bug75245.phpt
@@ -8,7 +8,6 @@ if (!extension_loaded('simplexml')) die('skip simplexml not available');
<?php
var_dump(simplexml_load_string('<test1><test2> </test2><test3></test3></test1>'));
?>
-===DONE===
--EXPECT--
object(SimpleXMLElement)#1 (2) {
["test2"]=>
@@ -18,4 +17,3 @@ object(SimpleXMLElement)#1 (2) {
object(SimpleXMLElement)#3 (0) {
}
}
-===DONE===
diff --git a/ext/simplexml/tests/bug76712.phpt b/ext/simplexml/tests/bug76712.phpt
index efd34b56e2..44bc0be068 100644
--- a/ext/simplexml/tests/bug76712.phpt
+++ b/ext/simplexml/tests/bug76712.phpt
@@ -15,10 +15,8 @@ $sxe->addChild('bar');
$sxe->bar = '';
echo $sxe->asXML();
?>
-===DONE===
--EXPECT--
<?xml version="1.0"?>
<foo><bar/></foo>
<?xml version="1.0"?>
<foo><bar/></foo>
-===DONE===
diff --git a/ext/simplexml/tests/feature55218.phpt b/ext/simplexml/tests/feature55218.phpt
index 5aac70ea2a..bef8e2a9b8 100644
--- a/ext/simplexml/tests/feature55218.phpt
+++ b/ext/simplexml/tests/feature55218.phpt
@@ -48,7 +48,6 @@ var_dump( $x->person[0]->getDocNamespaces(false, false) );
var_dump( $x->person[1]->getDocNamespaces(false, false) );
?>
-===DONE===
--EXPECT--
getDocNamespaces
@@ -114,4 +113,3 @@ array(1) {
}
array(0) {
}
-===DONE===
diff --git a/ext/simplexml/tests/profile11.phpt b/ext/simplexml/tests/profile11.phpt
index 54c31bf710..7d95f44a09 100644
--- a/ext/simplexml/tests/profile11.phpt
+++ b/ext/simplexml/tests/profile11.phpt
@@ -18,7 +18,6 @@ var_dump((string)$root->children('reserved-ns')->child);
var_dump((string)$root->children('special-ns')->child);
var_dump($root->child);
?>
-===DONE===
--EXPECTF--
object(SimpleXMLElement)#%d (1) {
[0]=>
@@ -32,4 +31,3 @@ string(5) "Hello"
string(5) "World"
object(SimpleXMLElement)#%d (0) {
}
-===DONE===
diff --git a/ext/simplexml/tests/profile12.phpt b/ext/simplexml/tests/profile12.phpt
index 51a0d35531..e52dc5f3d1 100644
--- a/ext/simplexml/tests/profile12.phpt
+++ b/ext/simplexml/tests/profile12.phpt
@@ -30,7 +30,6 @@ var_dump($sxe->Body->children(''));
var_dump($sxe->Body->children('')->businessList);
?>
-===DONE===
--EXPECTF--
array(1) {
["soap"]=>
@@ -71,4 +70,3 @@ object(SimpleXMLElement)#%s (2) {
}
}
}
-===DONE===
diff --git a/ext/simplexml/tests/profile13.phpt b/ext/simplexml/tests/profile13.phpt
index 2ae89e7449..2e692fbcd3 100644
--- a/ext/simplexml/tests/profile13.phpt
+++ b/ext/simplexml/tests/profile13.phpt
@@ -29,8 +29,6 @@ var_dump($sxe->Body->children(''));
var_dump($sxe->Body->children('')->businessList);
?>
-===DONE===
-<?php exit(0); ?>
--EXPECTF--
object(SimpleXMLElement)#%d (1) {
["Body"]=>
@@ -72,4 +70,3 @@ object(SimpleXMLElement)#%d (2) {
}
}
}
-===DONE===
diff --git a/ext/simplexml/tests/sxe_001.phpt b/ext/simplexml/tests/sxe_001.phpt
index fdc0335bd5..2c1edd0100 100644
--- a/ext/simplexml/tests/sxe_001.phpt
+++ b/ext/simplexml/tests/sxe_001.phpt
@@ -28,7 +28,6 @@ EOF;
var_dump(simplexml_load_string($xml, 'SimpleXMLIterator'));
?>
-===DONE===
--EXPECTF--
object(SimpleXMLIterator)#%d (2) {
["@attributes"]=>
@@ -60,4 +59,3 @@ object(SimpleXMLIterator)#%d (2) {
}
}
}
-===DONE===
diff --git a/ext/simplexml/tests/sxe_002.phpt b/ext/simplexml/tests/sxe_002.phpt
index 73db596789..eeff0ee215 100644
--- a/ext/simplexml/tests/sxe_002.phpt
+++ b/ext/simplexml/tests/sxe_002.phpt
@@ -49,7 +49,6 @@ var_dump(get_class($sxe));
var_dump(trim($sxe->elem1));
?>
-===DONE===
--EXPECT--
string(5) "elem1"
string(17) "SimpleXMLIterator"
@@ -72,4 +71,3 @@ string(7) "Foo Bar"
===DUMP===
string(17) "SimpleXMLIterator"
string(10) "Bla bla 1."
-===DONE===
diff --git a/ext/simplexml/tests/sxe_003.phpt b/ext/simplexml/tests/sxe_003.phpt
index f3a2e5c5bc..36ad9b6dcb 100644
--- a/ext/simplexml/tests/sxe_003.phpt
+++ b/ext/simplexml/tests/sxe_003.phpt
@@ -57,7 +57,6 @@ for ($sxe->rewind(); $sxe->valid(); $sxe->next()) {
}
?>
-===DONE===
--EXPECTF--
Warning: Invalid argument supplied for foreach() in %ssxe_003.php on line %d
===RESET===
@@ -73,4 +72,3 @@ string(10) "Bla bla 2."
string(7) "elem111"
string(17) "SimpleXMLIterator"
string(7) "Foo Bar"
-===DONE===
diff --git a/ext/simplexml/tests/sxe_004.phpt b/ext/simplexml/tests/sxe_004.phpt
index 8b86eff375..7f06b1918f 100644
--- a/ext/simplexml/tests/sxe_004.phpt
+++ b/ext/simplexml/tests/sxe_004.phpt
@@ -83,7 +83,6 @@ foreach($rit as $data) {
}
?>
-===DONE===
--EXPECT--
SXETest::rewind
SXETest::valid
@@ -142,4 +141,3 @@ SXETest::valid
SXETest::next
SXETest::valid
SXETest::valid
-===DONE===
diff --git a/ext/simplexml/tests/sxe_005.phpt b/ext/simplexml/tests/sxe_005.phpt
index d13d3d73d4..2c7aedf4d1 100644
--- a/ext/simplexml/tests/sxe_005.phpt
+++ b/ext/simplexml/tests/sxe_005.phpt
@@ -33,7 +33,6 @@ var_dump(count($sxe->elem1));
var_dump(count($sxe->elem2));
?>
-===DONE===
--EXPECT--
SXETest::count
int(3)
@@ -41,4 +40,3 @@ SXETest::count
int(1)
SXETest::count
int(2)
-===DONE===