diff options
Diffstat (limited to 'ext/xml/tests/xml_set_object_variation2.phpt')
-rw-r--r-- | ext/xml/tests/xml_set_object_variation2.phpt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/xml/tests/xml_set_object_variation2.phpt b/ext/xml/tests/xml_set_object_variation2.phpt index bca3472a07..6b20be76b9 100644 --- a/ext/xml/tests/xml_set_object_variation2.phpt +++ b/ext/xml/tests/xml_set_object_variation2.phpt @@ -1,17 +1,17 @@ --TEST-- Test xml_set_object() 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_set_object(resource parser, object &obj) - * Description: Set up object which should be used for callbacks + * Description: Set up object which should be used for callbacks * Source code: ext/xml/xml.c - * Alias to functions: + * Alias to functions: */ echo "*** Testing xml_set_object() : usage variations ***\n"; @@ -66,9 +66,9 @@ $values = array( // string data "string", 'string', - + // resource data - $fp, + $fp, // undefined data $undefined_var, |