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 | 31b91d7cdb8844607388f527a3be6ed84697ea60 (patch) | |
tree | a4f74412b2dcb5001be9a842756a6cc993d19870 /ext/intl/php_intl.c | |
parent | a1ae8af54c9a7ad6ada50260c04eca09052d2a9c (diff) | |
download | php-git-31b91d7cdb8844607388f527a3be6ed84697ea60.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 */ |