summaryrefslogtreecommitdiff
path: root/ext/date/php_date.h
diff options
context:
space:
mode:
authorLars Strojny <lstrojny@php.net>2013-01-06 03:06:09 +0100
committerLars Strojny <lstrojny@php.net>2013-01-06 03:06:09 +0100
commit67557fcfcea2c22e9b8d9f0ba86f461c02002cb7 (patch)
treeaac37319309f6d840eba6fed66916a47a5ebea2b /ext/date/php_date.h
parent2feea39a3320d100bae8a1193aba9022726a24ea (diff)
downloadphp-git-67557fcfcea2c22e9b8d9f0ba86f461c02002cb7.tar.gz
Bug #63699: performance improvements for varios ext/date functions
Diffstat (limited to 'ext/date/php_date.h')
-rw-r--r--ext/date/php_date.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/date/php_date.h b/ext/date/php_date.h
index c9c165050a..f0b662b5d9 100644
--- a/ext/date/php_date.h
+++ b/ext/date/php_date.h
@@ -150,10 +150,11 @@ struct _php_period_obj {
};
ZEND_BEGIN_MODULE_GLOBALS(date)
- char *default_timezone;
- char *timezone;
- HashTable *tzcache;
+ char *default_timezone;
+ char *timezone;
+ HashTable *tzcache;
timelib_error_container *last_errors;
+ int timezone_valid;
ZEND_END_MODULE_GLOBALS(date)
#ifdef ZTS