summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerick Rethans <github@derickrethans.nl>2017-08-16 09:51:21 +0100
committerDerick Rethans <github@derickrethans.nl>2017-08-16 09:51:21 +0100
commit7829f9b1d23266034facedcf9200925c593f49c1 (patch)
tree1983625b69568a4de114c3bc58e234efb758efe2
parent01735f4d9f71cea2e95d9e08175042a8e0f17299 (diff)
downloadphp-git-7829f9b1d23266034facedcf9200925c593f49c1.tar.gz
Added timelib version to phpinfo()
-rw-r--r--ext/date/php_date.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/date/php_date.c b/ext/date/php_date.c
index a9e5506dea..b50afc7dbe 100644
--- a/ext/date/php_date.c
+++ b/ext/date/php_date.c
@@ -911,6 +911,7 @@ PHP_MINFO_FUNCTION(date)
php_info_print_table_start();
php_info_print_table_row(2, "date/time support", "enabled");
+ php_info_print_table_row(2, "timelib version", TIMELIB_ASCII_VERSION);
php_info_print_table_row(2, "\"Olson\" Timezone Database Version", tzdb->version);
php_info_print_table_row(2, "Timezone Database", php_date_global_timezone_db_enabled ? "external" : "internal");
php_info_print_table_row(2, "Default timezone", guess_timezone(tzdb));