diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-08-13 14:54:57 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-08-13 14:54:57 +0200 |
commit | 8c927442b45da4934e1b6afe28ab43abd4a5f796 (patch) | |
tree | 020aae37295c3b8e74eb6854d4e86be868c3e5d4 /ext/pcre/php_pcre.c | |
parent | 1dc88ff67e64a2fdd6ec7807758d7b88d577b4f9 (diff) | |
parent | 60a7e60b61b8e4a3d455974c83f76a26546ce117 (diff) | |
download | php-git-8c927442b45da4934e1b6afe28ab43abd4a5f796.tar.gz |
Merge branch 'PHP-7.4'
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r-- | ext/pcre/php_pcre.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index 4a603ec99d..c21b077772 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -753,6 +753,7 @@ PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache(zend_string *regex) return NULL; } _k = zend_string_init(ZSTR_VAL(BG(locale_string)), ZSTR_LEN(BG(locale_string)), 1); + GC_MAKE_PERSISTENT_LOCAL(_k); zend_hash_add_ptr(&char_tables, _k, (void *)tables); zend_string_release(_k); } |