From 9975986b7ef849c3a8e73a48748befbfdc50e416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Sun, 16 Aug 2020 21:49:20 +0200 Subject: Improve error messages mentioning parameters instead of arguments Closes GH-5999 --- ext/pcre/tests/preg_match_all_error3.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/pcre/tests') 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 -- cgit v1.2.1