diff options
Diffstat (limited to 'ext/simplexml/tests')
| -rw-r--r-- | ext/simplexml/tests/025.phpt | 2 | ||||
| -rw-r--r-- | ext/simplexml/tests/026.phpt | 2 | ||||
| -rw-r--r-- | ext/simplexml/tests/028.phpt | 2 | ||||
| -rw-r--r-- | ext/simplexml/tests/029.phpt | 2 | ||||
| -rw-r--r-- | ext/simplexml/tests/032.phpt | 2 | ||||
| -rw-r--r-- | ext/simplexml/tests/034.phpt | 2 | ||||
| -rw-r--r-- | ext/simplexml/tests/SimpleXMLElement_addAttribute_basic.phpt | 2 | ||||
| -rw-r--r-- | ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt | 2 | ||||
| -rw-r--r-- | ext/simplexml/tests/bug35785.phpt | 2 | ||||
| -rw-r--r-- | ext/simplexml/tests/bug37386.phpt | 2 | ||||
| -rw-r--r-- | ext/simplexml/tests/bug37565.phpt | 2 | ||||
| -rw-r--r-- | ext/simplexml/tests/bug38354.phpt | 2 | ||||
| -rw-r--r-- | ext/simplexml/tests/bug44478.phpt | 2 | ||||
| -rw-r--r-- | ext/simplexml/tests/bug45553.phpt | 2 | ||||
| -rw-r--r-- | ext/simplexml/tests/bug46003.phpt | 2 | ||||
| -rw-r--r-- | ext/simplexml/tests/bug46047.phpt | 2 | ||||
| -rw-r--r-- | ext/simplexml/tests/bug48601.phpt | 2 | ||||
| -rw-r--r-- | ext/simplexml/tests/feature55218.phpt | 2 | ||||
| -rw-r--r-- | ext/simplexml/tests/simplexml_load_file.phpt | 2 | ||||
| -rw-r--r-- | ext/simplexml/tests/sxe_004.phpt | 2 |
20 files changed, 20 insertions, 20 deletions
diff --git a/ext/simplexml/tests/025.phpt b/ext/simplexml/tests/025.phpt index b9e3bbb0dc..955410a5ee 100644 --- a/ext/simplexml/tests/025.phpt +++ b/ext/simplexml/tests/025.phpt @@ -48,7 +48,7 @@ var_dump($sxe->getDocNamespaces()); ?> ===DONE=== <?php exit(0); ?> ---EXPECTF-- +--EXPECT-- array(1) { ["xhtml"]=> string(31) "http://www.w3.org/TR/REC-html40" diff --git a/ext/simplexml/tests/026.phpt b/ext/simplexml/tests/026.phpt index d6de94be3d..7b6ca54183 100644 --- a/ext/simplexml/tests/026.phpt +++ b/ext/simplexml/tests/026.phpt @@ -32,7 +32,7 @@ traverse_xml($people); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- <people> <person>Jane </person> diff --git a/ext/simplexml/tests/028.phpt b/ext/simplexml/tests/028.phpt index 753056b9ad..9adb923ddc 100644 --- a/ext/simplexml/tests/028.phpt +++ b/ext/simplexml/tests/028.phpt @@ -32,7 +32,7 @@ traverse_xml($people); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- <people> </people> <people> diff --git a/ext/simplexml/tests/029.phpt b/ext/simplexml/tests/029.phpt index 86a4f308e3..117e6b7939 100644 --- a/ext/simplexml/tests/029.phpt +++ b/ext/simplexml/tests/029.phpt @@ -27,7 +27,7 @@ foreach($people as $person) ?> ===DONE=== ---EXPECTF-- +--EXPECT-- string(3) "Joe" int(3) int(0) diff --git a/ext/simplexml/tests/032.phpt b/ext/simplexml/tests/032.phpt index 48bc887ecc..55e2bc186d 100644 --- a/ext/simplexml/tests/032.phpt +++ b/ext/simplexml/tests/032.phpt @@ -38,7 +38,7 @@ var_dump($people2 == $people1); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- bool(false) bool(false) bool(false) diff --git a/ext/simplexml/tests/034.phpt b/ext/simplexml/tests/034.phpt index f5d92b142b..3d52a60a0c 100644 --- a/ext/simplexml/tests/034.phpt +++ b/ext/simplexml/tests/034.phpt @@ -18,5 +18,5 @@ echo count($p); $p = (array)$foo->bar->p; echo count($p); ?> ---EXPECTF-- +--EXPECT-- 33 diff --git a/ext/simplexml/tests/SimpleXMLElement_addAttribute_basic.phpt b/ext/simplexml/tests/SimpleXMLElement_addAttribute_basic.phpt index 15c81b2a9a..fc918798a5 100644 --- a/ext/simplexml/tests/SimpleXMLElement_addAttribute_basic.phpt +++ b/ext/simplexml/tests/SimpleXMLElement_addAttribute_basic.phpt @@ -10,7 +10,7 @@ SimpleXMLElement->addAttribute() var_dump($simple->attributes()); echo "Done"; ?> ---EXPECTF-- +--EXPECT-- object(SimpleXMLElement)#2 (1) { ["@attributes"]=> array(1) { diff --git a/ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt b/ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt index 52d1341ae5..77abe3301d 100644 --- a/ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt +++ b/ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt @@ -7,5 +7,5 @@ Testing getDocNamespaces() with invalid XML $xml = @new SimpleXMLElement("X",1); var_dump($xml->getDocNamespaces()); ?> ---EXPECTF-- +--EXPECT-- bool(false) diff --git a/ext/simplexml/tests/bug35785.phpt b/ext/simplexml/tests/bug35785.phpt index 080a510837..10bae9ca10 100644 --- a/ext/simplexml/tests/bug35785.phpt +++ b/ext/simplexml/tests/bug35785.phpt @@ -18,7 +18,7 @@ echo $xml->asXML(); ?> ===DONE=== <?php exit(0); __halt_compiler(); ?> ---EXPECTF-- +--EXPECT-- <?xml version="1.0"?> <root><bla><posts><name>FooBar</name></posts></bla></root> bool(false) diff --git a/ext/simplexml/tests/bug37386.phpt b/ext/simplexml/tests/bug37386.phpt index 06b69c4705..92e8cef48b 100644 --- a/ext/simplexml/tests/bug37386.phpt +++ b/ext/simplexml/tests/bug37386.phpt @@ -17,7 +17,7 @@ $node[0] = 'New Value'; print $sx1->asXML(); ?> ---EXPECTF-- +--EXPECT-- <?xml version="1.0"?> <root><node>node1</node><node>node2</node></root> diff --git a/ext/simplexml/tests/bug37565.phpt b/ext/simplexml/tests/bug37565.phpt index 24500d09b1..0af93deaf3 100644 --- a/ext/simplexml/tests/bug37565.phpt +++ b/ext/simplexml/tests/bug37565.phpt @@ -29,7 +29,7 @@ try { ?> ===DONE=== ---EXPECTF-- +--EXPECT-- Error: simplexml_load_string() expects parameter 2 to be a class name derived from SimpleXMLElement, 'Setting' given Error: Argument 1 passed to Reflection::export() must implement interface Reflector, null given Error: simplexml_load_file() expects parameter 2 to be a class name derived from SimpleXMLElement, 'Setting' given diff --git a/ext/simplexml/tests/bug38354.phpt b/ext/simplexml/tests/bug38354.phpt index d2fcde11c2..04ed8f2823 100644 --- a/ext/simplexml/tests/bug38354.phpt +++ b/ext/simplexml/tests/bug38354.phpt @@ -17,7 +17,7 @@ foreach ($xml->xpath("//*") as $element) { echo "Done\n"; ?> ---EXPECTF-- +--EXPECT-- string(101) "<?xml version="1.0"?> <code> <a href="javascript:alert('1');"><strong>Item Two</strong></a> diff --git a/ext/simplexml/tests/bug44478.phpt b/ext/simplexml/tests/bug44478.phpt index 17a26f949b..377754f792 100644 --- a/ext/simplexml/tests/bug44478.phpt +++ b/ext/simplexml/tests/bug44478.phpt @@ -18,7 +18,7 @@ print $xml_element->asXML(); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- a & b a & b a & b diff --git a/ext/simplexml/tests/bug45553.phpt b/ext/simplexml/tests/bug45553.phpt index b355c48696..6634498556 100644 --- a/ext/simplexml/tests/bug45553.phpt +++ b/ext/simplexml/tests/bug45553.phpt @@ -26,7 +26,7 @@ $atts = $x->xpath("/xml/data/@label"); echo $atts[0] . "\n"; ?> ===DONE=== ---EXPECTF-- +--EXPECT-- I am A I am a:Nothing I am a:A diff --git a/ext/simplexml/tests/bug46003.phpt b/ext/simplexml/tests/bug46003.phpt index 712675c097..e21a4ce742 100644 --- a/ext/simplexml/tests/bug46003.phpt +++ b/ext/simplexml/tests/bug46003.phpt @@ -24,7 +24,7 @@ var_dump(isset($x->o->text)); var_dump(isset($x->o->xx)); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- bool(true) bool(false) bool(true) diff --git a/ext/simplexml/tests/bug46047.phpt b/ext/simplexml/tests/bug46047.phpt index 0438154823..61b6316e6d 100644 --- a/ext/simplexml/tests/bug46047.phpt +++ b/ext/simplexml/tests/bug46047.phpt @@ -15,7 +15,7 @@ $xml = new SimpleXMLElement('<foo><bar/><baz/></foo>'); print_r($xml); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- SimpleXMLElement Object ( [bar] => SimpleXMLElement Object diff --git a/ext/simplexml/tests/bug48601.phpt b/ext/simplexml/tests/bug48601.phpt index 0b81facf49..20d6060a36 100644 --- a/ext/simplexml/tests/bug48601.phpt +++ b/ext/simplexml/tests/bug48601.phpt @@ -16,5 +16,5 @@ if (! is_array($nodes)) { } ?> ---EXPECTF-- +--EXPECT-- Result Count: 0 diff --git a/ext/simplexml/tests/feature55218.phpt b/ext/simplexml/tests/feature55218.phpt index 25ea534376..c1489ed375 100644 --- a/ext/simplexml/tests/feature55218.phpt +++ b/ext/simplexml/tests/feature55218.phpt @@ -49,7 +49,7 @@ var_dump( $x->person[1]->getDocNamespaces(false, false) ); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- getDocNamespaces Backwards Compatibility: diff --git a/ext/simplexml/tests/simplexml_load_file.phpt b/ext/simplexml/tests/simplexml_load_file.phpt index 8dc6481f5d..1442a0ed47 100644 --- a/ext/simplexml/tests/simplexml_load_file.phpt +++ b/ext/simplexml/tests/simplexml_load_file.phpt @@ -9,7 +9,7 @@ simplexml_load_file() var_dump($simple); echo "Done"; ?> ---EXPECTF-- +--EXPECT-- object(SimpleXMLElement)#1 (1) { ["book"]=> array(2) { diff --git a/ext/simplexml/tests/sxe_004.phpt b/ext/simplexml/tests/sxe_004.phpt index ac4bcd8bf7..15b9a53aae 100644 --- a/ext/simplexml/tests/sxe_004.phpt +++ b/ext/simplexml/tests/sxe_004.phpt @@ -84,7 +84,7 @@ foreach($rit as $data) { ?> ===DONE=== ---EXPECTF-- +--EXPECT-- SXETest::rewind SXETest::valid SXETest::hasChildren |
