diff options
| author | Peter Kokot <peterkokot@gmail.com> | 2018-10-14 18:03:31 +0200 |
|---|---|---|
| committer | Peter Kokot <peterkokot@gmail.com> | 2018-10-14 19:46:15 +0200 |
| commit | d7a3edd45db8d91ddf09cba7c594c63e63f62709 (patch) | |
| tree | ef4fe3e4794260b362dad72d3542fdbef0169b8e /ext/simplexml | |
| parent | b0708fa2e7b31f1fbd9539486a35d33643e62461 (diff) | |
| download | php-git-d7a3edd45db8d91ddf09cba7c594c63e63f62709.tar.gz | |
Trim trailing whitespace in *.phpt
Diffstat (limited to 'ext/simplexml')
| -rw-r--r-- | ext/simplexml/tests/008.phpt | 6 | ||||
| -rw-r--r-- | ext/simplexml/tests/009.phpt | 2 | ||||
| -rw-r--r-- | ext/simplexml/tests/009b.phpt | 2 | ||||
| -rw-r--r-- | ext/simplexml/tests/bug46047.phpt | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/ext/simplexml/tests/008.phpt b/ext/simplexml/tests/008.phpt index f0c32d4e55..dba2df58c7 100644 --- a/ext/simplexml/tests/008.phpt +++ b/ext/simplexml/tests/008.phpt @@ -1,5 +1,5 @@ --TEST-- -SimpleXML: XPath +SimpleXML: XPath --SKIPIF-- <?php if (!extension_loaded("simplexml")) print "skip"; ?> --FILE-- @@ -25,9 +25,9 @@ EOF; $sxe = simplexml_load_string($xml); var_dump($sxe->xpath("elem1/elem2/elem3/elem4")); -//valid expression +//valid expression var_dump($sxe->xpath("***")); -//invalid expression +//invalid expression var_dump($sxe->xpath("**")); ?> --EXPECTF-- diff --git a/ext/simplexml/tests/009.phpt b/ext/simplexml/tests/009.phpt index 096d8391e8..2800f3add9 100644 --- a/ext/simplexml/tests/009.phpt +++ b/ext/simplexml/tests/009.phpt @@ -1,5 +1,5 @@ --TEST-- -SimpleXML: foreach +SimpleXML: foreach --SKIPIF-- <?php if (!extension_loaded("simplexml")) print "skip"; ?> --FILE-- diff --git a/ext/simplexml/tests/009b.phpt b/ext/simplexml/tests/009b.phpt index e042875ce3..fd920e2e26 100644 --- a/ext/simplexml/tests/009b.phpt +++ b/ext/simplexml/tests/009b.phpt @@ -1,5 +1,5 @@ --TEST-- -SimpleXML: foreach +SimpleXML: foreach --SKIPIF-- <?php if (!extension_loaded("simplexml")) print "skip"; ?> --FILE-- diff --git a/ext/simplexml/tests/bug46047.phpt b/ext/simplexml/tests/bug46047.phpt index 61b6316e6d..59d14b09c0 100644 --- a/ext/simplexml/tests/bug46047.phpt +++ b/ext/simplexml/tests/bug46047.phpt @@ -4,7 +4,7 @@ Bug #46047 (SimpleXML converts empty nodes into object with nested array) <?php if (!extension_loaded("simplexml")) print "skip"; ?> --FILE-- <?php -$xml = new SimpleXMLElement('<foo><bar><![CDATA[]]></bar><baz/></foo>', +$xml = new SimpleXMLElement('<foo><bar><![CDATA[]]></bar><baz/></foo>', LIBXML_NOCDATA); print_r($xml); |
