#include "php.h"
#include "php_globals.h"
#include "php_pcre.h"
+#include "ext/standard/info.h"
#if HAVE_PCRE || HAVE_BUNDLED_PCRE
static /* {{{ PHP_MINFO_FUNCTION(pcre) */
PHP_MINFO_FUNCTION(pcre)
{
- php_printf("Perl Compatible Regular Expressions");
- php_printf("<table cellpadding=5>"
- "<tr><td>PCRE library version:</td>"
- "<td>%s</td></tr>"
- "</table>", pcre_version());
+ php_info_print_table_start();
+ php_info_print_table_row(2, "PCRE Library Version", pcre_version() );
+ php_info_print_table_end();
}
/* }}} */