diff options
author | Anatol Belski <ab@php.net> | 2014-10-17 15:51:21 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-10-17 15:51:21 +0200 |
commit | 4fce2ae2c64b61e5ef7cdbdb631b8d5691d1b31f (patch) | |
tree | c1e4941189f82e6575fb57de7b0d047404fd0a38 /ext/intl/php_intl.c | |
parent | 5749b4a9979cd3ff85996323bed9adc1bd182f76 (diff) | |
download | php-git-4fce2ae2c64b61e5ef7cdbdb631b8d5691d1b31f.tar.gz |
opcache, intl, gmp, exif, com, bcmath to use static tsrmls
Diffstat (limited to 'ext/intl/php_intl.c')
-rw-r--r-- | ext/intl/php_intl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/intl/php_intl.c b/ext/intl/php_intl.c index 2c5e74809d..15f058d2b4 100644 --- a/ext/intl/php_intl.c +++ b/ext/intl/php_intl.c @@ -893,12 +893,18 @@ zend_module_entry intl_module_entry = { /* }}} */ #ifdef COMPILE_DL_INTL +#ifdef ZTS +ZEND_TSRMLS_CACHE_DEFINE; +#endif ZEND_GET_MODULE( intl ) #endif /* {{{ intl_init_globals */ static PHP_GINIT_FUNCTION(intl) { +#if defined(COMPILE_DL_INTL) && defined(ZTS) + ZEND_TSRMLS_CACHE_UPDATE; +#endif memset( intl_globals, 0, sizeof(zend_intl_globals) ); } /* }}} */ |