From: Antony Dovgal Date: Fri, 24 Dec 2004 19:45:54 +0000 (+0000) Subject: return empty string when got empty parameter X-Git-Tag: RELEASE_0_2~472 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ffb2cf7a94252e80af53c1fe424eb1743c2756e8;p=php return empty string when got empty parameter --- diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index b48df3fa5e..55da280ca4 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -1416,7 +1416,7 @@ PHP_FUNCTION(preg_quote) /* Nothing to do if we got an empty string */ if (in_str == in_str_end) { - RETVAL_EMPTY_STRING(); + RETURN_EMPTY_STRING(); } if (ZEND_NUM_ARGS() == 2) {