summaryrefslogtreecommitdiff
path: root/tests/classes
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-08-16 21:49:20 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-09-09 10:47:43 +0200
commit9975986b7ef849c3a8e73a48748befbfdc50e416 (patch)
treeb287480ec6e0d4853fa4e1f53d3627836b74d695 /tests/classes
parentc5b42be40e98f1626e2404af069af16cb6510ef3 (diff)
downloadphp-git-9975986b7ef849c3a8e73a48748befbfdc50e416.tar.gz
Improve error messages mentioning parameters instead of arguments
Closes GH-5999
Diffstat (limited to 'tests/classes')
-rw-r--r--tests/classes/constants_error_003.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/classes/constants_error_003.phpt b/tests/classes/constants_error_003.phpt
index a0ee23506b..afc199555b 100644
--- a/tests/classes/constants_error_003.phpt
+++ b/tests/classes/constants_error_003.phpt
@@ -16,7 +16,7 @@ Basic class support - attempting to pass a class constant by reference.
var_dump(aclass::myConst);
?>
--EXPECTF--
-Fatal error: Uncaught Error: Cannot pass parameter 1 by reference in %s:%d
+Fatal error: Uncaught Error: f(): Argument #1 ($a) cannot be passed by reference in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d