diff options
-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 12d9ea779f..5071e2eef0 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -877,6 +877,10 @@ PHP_MSHUTDOWN_FUNCTION(date) timelib_error_container_dtor(DATEG(last_errors)); } +#ifndef ZTS + DATEG(default_timezone) = NULL; +#endif + return SUCCESS; } /* }}} */ |