Added timelib version to phpinfo()
authorDerick Rethans <github@derickrethans.nl>
Wed, 16 Aug 2017 08:51:21 +0000 (09:51 +0100)
committerDerick Rethans <github@derickrethans.nl>
Wed, 16 Aug 2017 08:51:21 +0000 (09:51 +0100)
ext/date/php_date.c

index a9e5506dea5249893e24a8d043cc20b489d3acf6..b50afc7dbe982c02c6d9187d14c5963a4cbef06c 100644 (file)
@@ -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));