diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-10-02 00:20:45 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-10-02 11:55:23 +0200 |
commit | 6b00196e04d29479412e1de6dabc5b8a62709686 (patch) | |
tree | 65576e989a40e084961fc4024b9b670bfa7899b2 /ext/pcre/php_pcre.c | |
parent | 109fb3e57de34cbbd948d582474e83c4cbe35a96 (diff) | |
download | php-git-6b00196e04d29479412e1de6dabc5b8a62709686.tar.gz |
Review parameter names in ext/pcre
Closes GH-6259
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 42c423e6bd..ee340829ee 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -2295,7 +2295,7 @@ static void preg_replace_common(INTERNAL_FUNCTION_PARAMETERS, bool is_filter) /* If replace is an array then the regex argument needs to also be an array */ if (replace_ht && !regex_ht) { - zend_argument_type_error(1, "must be of type array when argument #2 ($replace) is an array, string given"); + zend_argument_type_error(1, "must be of type array when argument #2 ($replacement) is an array, string given"); RETURN_THROWS(); } |