From ffb2cf7a94252e80af53c1fe424eb1743c2756e8 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Fri, 24 Dec 2004 19:45:54 +0000 Subject: return empty string when got empty parameter --- ext/pcre/php_pcre.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/pcre/php_pcre.c') 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) { -- cgit v1.2.1