Skip to content

Commit

Permalink
Show ICU Data version inside phpinfo()
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia Alshanetsky committed Jun 3, 2011
1 parent a1ae8af commit 31b91d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ext/intl/php_intl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 31b91d7

Please sign in to comment.