diff options
| author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-08-16 21:49:20 +0200 |
|---|---|---|
| committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-09-09 10:47:43 +0200 |
| commit | 9975986b7ef849c3a8e73a48748befbfdc50e416 (patch) | |
| tree | b287480ec6e0d4853fa4e1f53d3627836b74d695 /ext/pcre/tests | |
| parent | c5b42be40e98f1626e2404af069af16cb6510ef3 (diff) | |
| download | php-git-9975986b7ef849c3a8e73a48748befbfdc50e416.tar.gz | |
Improve error messages mentioning parameters instead of arguments
Closes GH-5999
Diffstat (limited to 'ext/pcre/tests')
| -rw-r--r-- | ext/pcre/tests/preg_match_all_error3.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/tests/preg_match_all_error3.phpt b/ext/pcre/tests/preg_match_all_error3.phpt index b0ad8c3085..11427b7c68 100644 --- a/ext/pcre/tests/preg_match_all_error3.phpt +++ b/ext/pcre/tests/preg_match_all_error3.phpt @@ -17,7 +17,7 @@ echo "Done"; --EXPECTF-- *** Testing preg_match_all() : error conditions *** -Fatal error: Uncaught Error: Cannot pass parameter 3 by reference in %s:%d +Fatal error: Uncaught Error: preg_match_all(): Argument #3 ($subpatterns) cannot be passed by reference in %s:%d Stack trace: #0 {main} thrown in %s on line %d |
