diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2011-06-03 18:14:36 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2011-06-03 18:14:36 +0000 |
commit | 53b6c0c8ebc54e1273674d93ee0f5e1438956e3a (patch) | |
tree | 27f39a793e3598b87de80594f9807e1c851a68b5 /ext/intl/php_intl.c | |
parent | df6e8da2a8ac88e86128600a635105192e659856 (diff) | |
download | php-git-53b6c0c8ebc54e1273674d93ee0f5e1438956e3a.tar.gz |
Show ICU Data version inside phpinfo()
Diffstat (limited to 'ext/intl/php_intl.c')
-rwxr-xr-x | ext/intl/php_intl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/intl/php_intl.c b/ext/intl/php_intl.c index fa328cc5af..25d93980ef 100755 --- a/ext/intl/php_intl.c +++ b/ext/intl/php_intl.c @@ -711,6 +711,9 @@ PHP_MINFO_FUNCTION( intl ) php_info_print_table_header( 2, "Internationalization support", "enabled" ); php_info_print_table_row( 2, "version", INTL_MODULE_VERSION ); php_info_print_table_row( 2, "ICU version", U_ICU_VERSION ); +#ifdef U_ICU_DATA_VERSION + php_info_print_table_row( 2, "ICU Data version", U_ICU_DATA_VERSION ); +#endif php_info_print_table_end(); /* For the default locale php.ini setting */ |