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/spl/tests/arrayObject_exchangeArray_basic3.phpt | |
parent | c5b42be40e98f1626e2404af069af16cb6510ef3 (diff) | |
download | php-git-9975986b7ef849c3a8e73a48748befbfdc50e416.tar.gz |
Improve error messages mentioning parameters instead of arguments
Closes GH-5999
Diffstat (limited to 'ext/spl/tests/arrayObject_exchangeArray_basic3.phpt')
-rw-r--r-- | ext/spl/tests/arrayObject_exchangeArray_basic3.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/tests/arrayObject_exchangeArray_basic3.phpt b/ext/spl/tests/arrayObject_exchangeArray_basic3.phpt index 8eea9c96fd..ee149ad19b 100644 --- a/ext/spl/tests/arrayObject_exchangeArray_basic3.phpt +++ b/ext/spl/tests/arrayObject_exchangeArray_basic3.phpt @@ -81,7 +81,7 @@ array(2) { --> exchangeArray() with no arg: -Exception: ArrayObject::exchangeArray() expects exactly 1 parameter, 0 given +Exception: ArrayObject::exchangeArray() expects exactly 1 argument, 0 given Warning: Undefined variable $copy in %s on line %d object(ArrayObject)#2 (1) { |