]> granicus.if.org Git - php/commitdiff
add a line to phpinfo() to indicate whether multibyte support is On or Off
authorAntony Dovgal <tony2001@php.net>
Thu, 3 Jul 2008 08:06:55 +0000 (08:06 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 3 Jul 2008 08:06:55 +0000 (08:06 +0000)
ext/standard/info.c

index 5a766042416ade9c1b6c53a1b0f0b5a965b878cd..88225665ae531810807d54623354f17a85536340 100644 (file)
@@ -525,6 +525,12 @@ PHPAPI void php_print_info(int flag TSRMLS_DC)
 
                php_info_print_table_row(2, "Zend Memory Manager", is_zend_mm(TSRMLS_C) ? "enabled" : "disabled" );
 
+#ifdef ZEND_MULTIBYTE
+               php_info_print_table_row(2, "Zend multibyte support", "enabled");
+#else
+               php_info_print_table_row(2, "Zend multibyte support", "disabled");
+#endif
+
 #if HAVE_IPV6
                php_info_print_table_row(2, "IPv6 Support", "enabled" );
 #else