diff options
Diffstat (limited to 'ext/xml/tests/xml_parser_free_variation1.phpt')
-rw-r--r-- | ext/xml/tests/xml_parser_free_variation1.phpt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/xml/tests/xml_parser_free_variation1.phpt b/ext/xml/tests/xml_parser_free_variation1.phpt index 7c6468a827..439289d3e8 100644 --- a/ext/xml/tests/xml_parser_free_variation1.phpt +++ b/ext/xml/tests/xml_parser_free_variation1.phpt @@ -1,17 +1,17 @@ --TEST-- Test xml_parser_free() 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 int xml_parser_free(resource parser) - * Description: Free an XML parser + * Description: Free an XML parser * Source code: ext/xml/xml.c - * Alias to functions: + * Alias to functions: */ echo "*** Testing xml_parser_free() : usage variations ***\n"; @@ -73,9 +73,9 @@ $values = array( // object data new aClass(), - + // resource data - $fp, + $fp, // undefined data $undefined_var, |