diff options
Diffstat (limited to 'ext/date')
-rw-r--r-- | ext/date/php_date.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 4ca8d19e24..d8d6d32862 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -889,6 +889,10 @@ PHP_MSHUTDOWN_FUNCTION(date) timelib_error_container_dtor(DATEG(last_errors)); } +#ifndef ZTS + DATEG(default_timezone) = NULL; +#endif + return SUCCESS; } /* }}} */ |