summaryrefslogtreecommitdiff
path: root/ext/xml/tests/xml_parser_create_ns_variation1.phpt
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2018-09-16 14:16:42 -0300
committerGabriel Caruso <carusogabriel34@gmail.com>2018-10-14 12:07:20 -0300
commit9c144e0d8217d1ef7a83c2498214308b21af749f (patch)
treed977ba0d8601de477c52f62accf02c120ef06253 /ext/xml/tests/xml_parser_create_ns_variation1.phpt
parentb419732ddb0673dc5b15a67ee4bc7f06dd90d7d0 (diff)
downloadphp-git-9c144e0d8217d1ef7a83c2498214308b21af749f.tar.gz
Trim trailing whitespace in tests
Diffstat (limited to 'ext/xml/tests/xml_parser_create_ns_variation1.phpt')
-rw-r--r--ext/xml/tests/xml_parser_create_ns_variation1.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/xml/tests/xml_parser_create_ns_variation1.phpt b/ext/xml/tests/xml_parser_create_ns_variation1.phpt
index 2818b82fe8..098df877a1 100644
--- a/ext/xml/tests/xml_parser_create_ns_variation1.phpt
+++ b/ext/xml/tests/xml_parser_create_ns_variation1.phpt
@@ -1,17 +1,17 @@
--TEST--
Test xml_parser_create_ns() function : usage variations
--SKIPIF--
-<?php
+<?php
if (!extension_loaded("xml")) {
- print "skip - XML extension not loaded";
-}
+ print "skip - XML extension not loaded";
+}
?>
--FILE--
<?php
/* Prototype : proto resource xml_parser_create_ns([string encoding [, string sep]])
* Description: Create an XML parser
* Source code: ext/xml/xml.c
- * Alias to functions:
+ * Alias to functions:
*/
echo "*** Testing xml_parser_create_ns() : usage variations ***\n";
@@ -77,7 +77,7 @@ $values = array(
// object data
new aClass(),
-
+
// resource data
$fp,
@@ -92,7 +92,7 @@ $values = array(
foreach($values as $value) {
echo @"\nArg value $value \n";
- $res = xml_parser_create_ns($value);
+ $res = xml_parser_create_ns($value);
var_dump($res);
if ($res !== false) {
xml_parser_free($res);