summaryrefslogtreecommitdiff
path: root/ext/mbstring/mbstring.c
diff options
context:
space:
mode:
authorRui Hirokawa <hirokawa@php.net>2011-08-02 03:18:53 +0000
committerRui Hirokawa <hirokawa@php.net>2011-08-02 03:18:53 +0000
commit5771c1fb8682168c0dc55094bad999b01ef0a2b9 (patch)
treecac7fa6c980e16cb6583e260231cb72a7ff52d59 /ext/mbstring/mbstring.c
parent52948b534cf34cc337ab55f3dc67feef8fed0a86 (diff)
downloadphp-git-5771c1fb8682168c0dc55094bad999b01ef0a2b9.tar.gz
added version number of libmbfl.
Diffstat (limited to 'ext/mbstring/mbstring.c')
-rw-r--r--ext/mbstring/mbstring.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c
index 1600f97252..2b9da43f04 100644
--- a/ext/mbstring/mbstring.c
+++ b/ext/mbstring/mbstring.c
@@ -1682,6 +1682,11 @@ PHP_MINFO_FUNCTION(mbstring)
php_info_print_table_row(2, "Multibyte Support", "enabled");
php_info_print_table_row(2, "Multibyte string engine", "libmbfl");
php_info_print_table_row(2, "HTTP input encoding translation", MBSTRG(encoding_translation) ? "enabled": "disabled");
+ {
+ char tmp[256];
+ snprintf(tmp, sizeof(tmp), "%d.%d.%d", MBFL_VERSION_MAJOR, MBFL_VERSION_MINOR, MBFL_VERSION_TEENY);
+ php_info_print_table_row(2, "libmbfl version", tmp);
+ }
php_info_print_table_end();
php_info_print_table_start();