]> granicus.if.org Git - php/commitdiff
- Fixed bug #49483 (preg_replace 'subject' parameter listed as optional)
authorFelipe Pena <felipe@php.net>
Sun, 6 Sep 2009 17:41:34 +0000 (17:41 +0000)
committerFelipe Pena <felipe@php.net>
Sun, 6 Sep 2009 17:41:34 +0000 (17:41 +0000)
ext/pcre/php_pcre.c

index 49161f2edfe678b88e3aba288edf4c60c730f395..8d1cffb4a8834469ea5e516ae0d05ed7e12f48c8 100644 (file)
@@ -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)