com php-src: Merge branch 'PHP-7.2': ext/pcre/php_pcre.c
| From: | Anatol Belski | Date: | Tue, 14 Nov 2017 09:14:09 +0000 |
| Subject: | com php-src: Merge branch 'PHP-7.2': ext/pcre/php_pcre.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-100222@lists.php.net to get a copy of this message | ||
Commit: 0618d7d2ee9a4c04a009ed12145794691cf7b362
Author: Anatol Belski <ab@php.net> Tue, 14 Nov 2017 10:14:09 +0100
Parents: 5a6c49474ec5be7e195a24e4df5116bc229974e2 3c241ea3262250262c63b92176e2eec2435cc6bb
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0618d7d2ee9a4c04a009ed12145794691cf7b362
Log:
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix uninitialized flag when JIT is disabled
Changed paths:
MM ext/pcre/php_pcre.c
Diff:
diff --cc ext/pcre/php_pcre.c
index ed31462,c71335f..985d2c5
--- a/ext/pcre/php_pcre.c
+++ b/ext/pcre/php_pcre.c
@@@ -2691,10 -2531,13 +2691,10 @@@ static PHP_FUNCTION(preg_grep
PHPAPI void php_pcre_grep_impl(pcre_cache_entry *pce, zval *input, zval *return_value, zend_long
flags) /* {{{ */
{
- zval *entry; /* An entry in the input array */
- pcre_extra *extra = pce->extra;/* Holds results of studying */
- pcre_extra extra_data; /* Used locally for exec options */
- int *offsets; /* Array of subpattern offsets */
- int size_offsets; /* Size of the offsets array */
+ zval *entry; /* An entry in the input array */
+ uint32_t num_subpats; /* Number of captured subpatterns */
int count = 0; /* Count of matched subpatterns */
- uint32_t no_utf_check; /* Execution options */
- int no_utf_check = 0; /* Execution options */
++ uint32_t no_utf_check = 0; /* Execution options */
zend_string *string_key;
zend_ulong num_key;
zend_bool invert; /* Whether to return non-matching