summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r--ext/pcre/php_pcre.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
index 264b761ccf..14f47e8063 100644
--- a/ext/pcre/php_pcre.c
+++ b/ext/pcre/php_pcre.c
@@ -569,6 +569,7 @@ static int preg_do_repl_func(zval *function, char *subject, int *offsets, int co
int result_len; /* Return value length */
int i;
CLS_FETCH();
+ ELS_FETCH();
MAKE_STD_ZVAL(subpats);
array_init(subpats);