]> granicus.if.org Git - php/commitdiff
Revert unintended change
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 19 Mar 2019 11:00:38 +0000 (12:00 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 19 Mar 2019 11:01:37 +0000 (12:01 +0100)
I wanted to cache subpat names, but we can't do that because the
cache relives request boundaries.

ext/pcre/php_pcre.c

index 2524e772464caac23ba9e05a64fa38208e6226b2..106936e93694bb72b6dfb39348b618ade9637039 100644 (file)
@@ -47,7 +47,6 @@
 
 struct _pcre_cache_entry {
        pcre2_code *re;
-       zend_string **subpat_names;
        uint32_t preg_options;
        uint32_t capture_count;
        uint32_t name_count;