summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2009-09-06 17:41:34 +0000
committerFelipe Pena <felipe@php.net>2009-09-06 17:41:34 +0000
commitb4ee727353fcd4b8c0bf7011f8c0cfc94e23316d (patch)
tree9a2f182c68cc07742050d2a1cd9388b64648c4ba /ext/pcre/php_pcre.c
parentd19885341626593c4add3aee47f6c63bb25beab7 (diff)
downloadphp-git-b4ee727353fcd4b8c0bf7011f8c0cfc94e23316d.tar.gz
- Fixed bug #49483 (preg_replace 'subject' parameter listed as optional)
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 49161f2edf..8d1cffb4a8 100644
--- a/ext/pcre/php_pcre.c
+++ b/ext/pcre/php_pcre.c
@@ -1836,7 +1836,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_preg_match_all, 0, 0, 3)
ZEND_ARG_INFO(0, offset)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO_EX(arginfo_preg_replace, 0, 0, 2)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_preg_replace, 0, 0, 3)
ZEND_ARG_INFO(0, regex)
ZEND_ARG_INFO(0, replace)
ZEND_ARG_INFO(0, subject)