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 /Zend/tests/nullsafe_operator/013.phpt | |
| parent | c5b42be40e98f1626e2404af069af16cb6510ef3 (diff) | |
| download | php-git-9975986b7ef849c3a8e73a48748befbfdc50e416.tar.gz | |
Improve error messages mentioning parameters instead of arguments
Closes GH-5999
Diffstat (limited to 'Zend/tests/nullsafe_operator/013.phpt')
| -rw-r--r-- | Zend/tests/nullsafe_operator/013.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/tests/nullsafe_operator/013.phpt b/Zend/tests/nullsafe_operator/013.phpt index 0fef34b2b7..fd1fbc9006 100644 --- a/Zend/tests/nullsafe_operator/013.phpt +++ b/Zend/tests/nullsafe_operator/013.phpt @@ -50,10 +50,10 @@ int(0) string(98) "call_user_func_array(): Argument #1 ($function) must be a valid callback, no array or string given" string(77) "call_user_func_array(): Argument #2 ($args) must be of type array, null given" string(69) "get_class(): Argument #1 ($object) must be of type object, null given" -string(56) "get_called_class() expects exactly 0 parameters, 1 given" +string(55) "get_called_class() expects exactly 0 arguments, 1 given" string(4) "NULL" -string(53) "func_num_args() expects exactly 0 parameters, 1 given" -string(53) "func_get_args() expects exactly 0 parameters, 1 given" +string(52) "func_num_args() expects exactly 0 arguments, 1 given" +string(52) "func_get_args() expects exactly 0 arguments, 1 given" string(69) "array_slice(): Argument #1 ($array) must be of type array, null given" array(1) { [0]=> |
