]> granicus.if.org Git - php/commitdiff
Restore initial values on graceful server restart.
authorDmitry Stogov <dmitry@zend.com>
Fri, 26 Jan 2018 12:22:36 +0000 (15:22 +0300)
committerDmitry Stogov <dmitry@zend.com>
Fri, 26 Jan 2018 12:22:36 +0000 (15:22 +0300)
Zend/zend_string.c

index 2b428f4f42c8699440120366e2bc080f94f31a6d..e4edc92e477474f29831f3674bae9fa2e83ef046 100644 (file)
@@ -69,6 +69,12 @@ ZEND_API void zend_interned_strings_init(void)
        int i;
        zend_string *str;
 
+       interned_string_request_handler = zend_new_interned_string_request;
+       interned_string_copy_storage = NULL;
+
+       zend_empty_string = NULL;
+       zend_known_strings = NULL;
+
        zend_init_interned_strings_ht(&interned_strings_permanent, 1);
 
        zend_new_interned_string = zend_new_interned_string_permanent;