From: Marcus Boerger Date: Sat, 25 Oct 2003 21:28:01 +0000 (+0000) Subject: Show if Schemas are supported X-Git-Tag: RELEASE_2_0_0RC1~89 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=46251fa3f80844c34b55787c81a5535463685621;p=php Show if Schemas are supported --- diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index e19f9a5c4a..16e64a344a 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -1087,6 +1087,12 @@ PHP_MINFO_FUNCTION(simplexml) php_info_print_table_start(); php_info_print_table_header(2, "Simplexml support", "enabled"); php_info_print_table_row(2, "Revision", "$Revision$"); + php_info_print_table_row(2, "Schema support", +#ifdef LIBXML_SCHEMAS_ENABLED + "enabled"); +#else + "not available"); +#endif php_info_print_table_end(); } /* }}} */