From: Felipe Pena Date: Sun, 6 Sep 2009 17:41:34 +0000 (+0000) Subject: - Fixed bug #49483 (preg_replace 'subject' parameter listed as optional) X-Git-Tag: php-5.4.0alpha1~191^2~2686 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba50aa65728f0abdb0537e2191f3483a80bab7f9;p=php - 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 d63c3a1910..415b2f30e1 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -2046,7 +2046,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)