diff options
author | Antony Dovgal <tony2001@php.net> | 2004-12-24 19:45:54 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2004-12-24 19:45:54 +0000 |
commit | ffb2cf7a94252e80af53c1fe424eb1743c2756e8 (patch) | |
tree | 65a731788dc054caa89c0bf85d0e3e9062d8d8b9 /ext/pcre/php_pcre.c | |
parent | f91088459be3b05c44dff4c33d93c556abc90dd5 (diff) | |
download | php-git-ffb2cf7a94252e80af53c1fe424eb1743c2756e8.tar.gz |
return empty string when got empty parameter
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r-- | ext/pcre/php_pcre.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |