com php-src: in ext/soap globals are initialized also on minit: ext/soap/soap.c
| From: | Anatol Belski | Date: | Mon, 15 Dec 2014 09:52:12 +0000 |
| Subject: | com php-src: in ext/soap globals are initialized also on minit: ext/soap/soap.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83714@lists.php.net to get a copy of this message | ||
Commit: dba27372ec59af3f0ecc02b264b9c3a620b1a5bf
Author: Anatol Belski <ab@php.net> Mon, 15 Dec 2014 10:52:12 +0100
Parents: 61f90fbe0b5c20420661642085a13e596c8883e9
Branches: native-tls
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=dba27372ec59af3f0ecc02b264b9c3a620b1a5bf
Log:
in ext/soap globals are initialized also on minit
Changed paths:
M ext/soap/soap.c
Diff:
diff --git a/ext/soap/soap.c b/ext/soap/soap.c
index e2a9a84..1dac5b7 100644
--- a/ext/soap/soap.c
+++ b/ext/soap/soap.c
@@ -645,6 +645,9 @@ PHP_MINIT_FUNCTION(soap)
{
zend_class_entry ce;
+#if defined(COMPILE_DL_SOAP) && defined(ZTS)
+ ZEND_TSRMLS_CACHE_UPDATE;
+#endif
/* TODO: add ini entry for always use soap errors */
php_soap_prepare_globals();
ZEND_INIT_MODULE_GLOBALS(soap, php_soap_init_globals, NULL);