tony2001 Thu Jul 3 08:06:55 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/standard info.c
Log:
add a line to phpinfo() to indicate whether multibyte support is On or Off
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/info.c?r1=1.249.2.10.2.14.2.7&r2=1.249.2.10.2.14.2.8&diff_format=u
Index: php-src/ext/standard/info.c
diff -u php-src/ext/standard/info.c:1.249.2.10.2.14.2.7
php-src/ext/standard/info.c:1.249.2.10.2.14.2.8
--- php-src/ext/standard/info.c:1.249.2.10.2.14.2.7 Fri Jun 20 14:53:57 2008
+++ php-src/ext/standard/info.c Thu Jul 3 08:06:55 2008
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: info.c,v 1.249.2.10.2.14.2.7 2008/06/20 14:53:57 felipe Exp $ */
+/* $Id: info.c,v 1.249.2.10.2.14.2.8 2008/07/03 08:06:55 tony2001 Exp $ */
#include "php.h"
#include "php_ini.h"
@@ -525,6 +525,12 @@
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
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php