diff options
Diffstat (limited to 'ext/xml/tests/xml_get_error_code_error.phpt')
-rw-r--r-- | ext/xml/tests/xml_get_error_code_error.phpt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/xml/tests/xml_get_error_code_error.phpt b/ext/xml/tests/xml_get_error_code_error.phpt index 683734ae34..2e97ba92b6 100644 --- a/ext/xml/tests/xml_get_error_code_error.phpt +++ b/ext/xml/tests/xml_get_error_code_error.phpt @@ -1,17 +1,17 @@ --TEST-- -Test xml_get_error_code() function : error conditions +Test xml_get_error_code() function : error conditions --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_get_error_code(resource parser) - * Description: Get XML parser error code + * Description: Get XML parser error code * Source code: ext/xml/xml.c - * Alias to functions: + * Alias to functions: */ echo "*** Testing xml_get_error_code() : error conditions ***\n"; |