com php-src: Revert unintended change: ext/pcre/php_pcre.c
| From: | Nikita Popov | Date: | Tue, 19 Mar 2019 11:01:37 +0000 |
| Subject: | com php-src: Revert unintended change: ext/pcre/php_pcre.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-105243@lists.php.net to get a copy of this message | ||
Commit: 38b16274d16f3a90dd42e340b8429041c6aa7365
Author: Nikita Popov <nikita.ppv@gmail.com> Tue, 19 Mar 2019 12:00:38 +0100
Parents: 525f19bef55387085e056891840dde344eb04338
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=38b16274d16f3a90dd42e340b8429041c6aa7365
Log:
Revert unintended change
I wanted to cache subpat names, but we can't do that because the
cache relives request boundaries.
Changed paths:
M ext/pcre/php_pcre.c
Diff:
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
index 2524e77..106936e 100644
--- a/ext/pcre/php_pcre.c
+++ b/ext/pcre/php_pcre.c
@@ -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;