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 | 00a6dd29b7a115fb451174a173e128fe9d534c11 (patch) | |
tree | 350d6f28c89f41ef57409d7335df0a9e777c6312 /ext/intl/php_intl.c | |
parent | 14e7d404d97e6dd011786cc36b8a4f0e1441a22f (diff) | |
download | php-git-00a6dd29b7a115fb451174a173e128fe9d534c11.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 1b2b0c69dc..109730157e 100755 --- a/ext/intl/php_intl.c +++ b/ext/intl/php_intl.c @@ -651,6 +651,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 */ |