From: Pierre Joye Date: Fri, 9 Oct 2009 14:25:51 +0000 (+0000) Subject: - Merge: Fixed bug #49483 (preg_replace 'subject' parameter listed as optional) X-Git-Tag: php-5.3.1RC2~56 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e7590db152a3144b2904b7b9b25757db2ebbbf02;p=php - Merge: Fixed bug #49483 (preg_replace 'subject' parameter listed as optional) --- 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)