summaryrefslogtreecommitdiff
path: root/ext/domxml/domxml.c
diff options
context:
space:
mode:
authorColin Viebrock <cmv@php.net>2000-04-05 22:30:19 +0000
committerColin Viebrock <cmv@php.net>2000-04-05 22:30:19 +0000
commit731404c0ba2d8a66bded77feec15bf8ba50099c8 (patch)
tree6410f0d01e6eadb4b22380047d0876f75f25e539 /ext/domxml/domxml.c
parent0c2b366ce18ec4927ae31151ad05249c857e2e72 (diff)
downloadphp-git-731404c0ba2d8a66bded77feec15bf8ba50099c8.tar.gz
phpinfo() prettying
I will get to the rest of the functions later tonight or tomorrow (i.e. from hyperwave to snmp)
Diffstat (limited to 'ext/domxml/domxml.c')
-rw-r--r--ext/domxml/domxml.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/ext/domxml/domxml.c b/ext/domxml/domxml.c
index 599becb57f..7c397961d0 100644
--- a/ext/domxml/domxml.c
+++ b/ext/domxml/domxml.c
@@ -23,6 +23,7 @@
#include "php_domxml.h"
#if HAVE_DOMXML
+#include "ext/standard/info.h"
//#define newcode
static int le_domxmldocp;
@@ -313,9 +314,11 @@ PHP_FUNCTION(domxml_test)
PHP_MINFO_FUNCTION(domxml)
{
- PUTS("DOM/XML support active (compiled with libxml ");
-// php_printf("%s", LIBXML_VERSION);
- PUTS(".)");
+ /* don't know why that line was commented out in the previous version, so i left it (cmv) */
+ php_info_print_table_start();
+ php_info_print_table_row(2, "DOM/XML Support", "enabled");
+// php_info_print_table_row(2, "libmxl Version", LIBXML_VERSION );
+ php_info_print_table_end();
}
/* {{{ proto string domxml_attrname([int dir_handle])