diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-02-25 20:58:33 +0100 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-02-26 15:00:08 +0100 |
commit | 960318ed95d17bd30c2896e2f3189ebffb965dce (patch) | |
tree | 2890972c266dabe649a44b540869a49e41a3e450 /Zend/tests/closure_059.phpt | |
parent | c7094d892639fedffb67c273f8fd44f3ffff86d6 (diff) | |
download | php-git-960318ed95d17bd30c2896e2f3189ebffb965dce.tar.gz |
Change argument error message format
Closes GH-5211
Diffstat (limited to 'Zend/tests/closure_059.phpt')
-rw-r--r-- | Zend/tests/closure_059.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/tests/closure_059.phpt b/Zend/tests/closure_059.phpt index c63e654f2d..ab418e42b7 100644 --- a/Zend/tests/closure_059.phpt +++ b/Zend/tests/closure_059.phpt @@ -33,6 +33,6 @@ try { echo "Exception: " . $e->getMessage() . "\n"; } --EXPECTF-- -Exception: {closure}() expects argument #1 ($a) to be of type A, B given, called in %s on line %d -Exception: {closure}() expects argument #1 ($a) to be of type A, B given -Exception: {closure}() expects argument #1 ($a) to be of type A, B given +Exception: {closure}(): Argument #1 ($a) must be of type A, B given, called in %s on line %d +Exception: {closure}(): Argument #1 ($a) must be of type A, B given +Exception: {closure}(): Argument #1 ($a) must be of type A, B given |