diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-01-29 20:06:13 +0100 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-02-17 14:22:17 +0100 |
commit | ac0853eb265784c4238af652de9c54c883ffa99f (patch) | |
tree | e9316872480304e9e74ce89bd15052965cc18438 /ext/standard/tests/file/file_get_contents_variation8.phpt | |
parent | 72bd55902d1908857f47555ad69458861e1acd94 (diff) | |
download | php-git-ac0853eb265784c4238af652de9c54c883ffa99f.tar.gz |
Make type error messages more consistent
Closes GH-5092
Diffstat (limited to 'ext/standard/tests/file/file_get_contents_variation8.phpt')
-rw-r--r-- | ext/standard/tests/file/file_get_contents_variation8.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/file/file_get_contents_variation8.phpt b/ext/standard/tests/file/file_get_contents_variation8.phpt index 9277106992..c2bb209461 100644 --- a/ext/standard/tests/file/file_get_contents_variation8.phpt +++ b/ext/standard/tests/file/file_get_contents_variation8.phpt @@ -75,9 +75,9 @@ bool(false) Warning: file_get_contents( ): Failed to open stream: No such file or directory in %s on line %d bool(false) -- Iteration 6 -- -file_get_contents() expects parameter 1 to be a valid path, string given +file_get_contents() expects argument #1 ($filename) to be a valid path, string given -- Iteration 7 -- -file_get_contents() expects parameter 1 to be a valid path, array given +file_get_contents() expects argument #1 ($filename) to be a valid path, array given -- Iteration 8 -- Warning: file_get_contents(/no/such/file/dir): Failed to open stream: No such file or directory in %s on line %d |