diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-08-25 18:06:07 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-08-25 18:09:50 +0200 |
commit | ea87d0480fbfcdd1610bb56e680f64840b233b0c (patch) | |
tree | 2d530376df32fd75e5ff953b22d78997dd5eb04a /ext/pcre/tests/preg_replace_callback_array2.phpt | |
parent | 2369f48092a15a42731a4c1d1d8a1c770517a780 (diff) | |
download | php-git-ea87d0480fbfcdd1610bb56e680f64840b233b0c.tar.gz |
Promote warnings to exceptions in ext/pcre
Closes GH-6006
Diffstat (limited to 'ext/pcre/tests/preg_replace_callback_array2.phpt')
-rw-r--r-- | ext/pcre/tests/preg_replace_callback_array2.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/tests/preg_replace_callback_array2.phpt b/ext/pcre/tests/preg_replace_callback_array2.phpt index 679a4b0c54..aca11dc19c 100644 --- a/ext/pcre/tests/preg_replace_callback_array2.phpt +++ b/ext/pcre/tests/preg_replace_callback_array2.phpt @@ -30,7 +30,7 @@ try { echo "Done\n"; ?> --EXPECTF-- -'s' is not a valid callback +preg_replace_callback_array(): Argument #1 ($pattern) must contain only valid callbacks string(0) "" Warning: preg_replace_callback_array(): No ending delimiter '/' found in %spreg_replace_callback_array2.php on line %d |