summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2000-11-24 00:12:19 +0000
committerAndrei Zmievski <andrei@php.net>2000-11-24 00:12:19 +0000
commitdef5059f44b7bf55f406c248930fca23b27841f5 (patch)
treec8973da9b955d41476ba9b345c4669fd7391cd2c /ext/pcre/php_pcre.c
parentdb0d2c9bd6f2ef64721a840ce4f196af20822490 (diff)
downloadphp-git-def5059f44b7bf55f406c248930fca23b27841f5.tar.gz
Fix the arg array size.
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r--ext/pcre/php_pcre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
index 53cf7da06d..21d3da6b18 100644
--- a/ext/pcre/php_pcre.c
+++ b/ext/pcre/php_pcre.c
@@ -568,7 +568,7 @@ static int preg_do_repl_func(char *function_name, char *subject, int *offsets, i
zval *retval_ptr; /* Function return value */
zval function; /* Function to call */
zval *function_ptr = &function; /* Pointer to function to call */
- zval **args[0]; /* Argument to pass to function */
+ zval **args[1]; /* Argument to pass to function */
zval *subpats; /* Captured subpatterns */
int result_len; /* Return value length */
int i;