Test: /ext/standard/tests/file/readfile_error.phpt - Version 7.4.13    

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+ sh: /home/work/install/php-7.4.13/sapi/cli/php: Permission denied 001- *** Test readfile(): error conditions *** 002- -- Testing readfile() with unexpected no. of arguments -- 003- 004- Warning: readfile() expects at least 1 parameter, 0 given in %s on line %d 005- bool(false) 006- 007- Warning: readfile() expects at most 3 parameters, 4 given in %s on line %d 008- bool(false) 009- 010- -- Testing readfile() with invalid arguments -- 011- 012- Warning: readfile(): Filename cannot be empty in %s on line %d 013- bool(false) 014- 015- Warning: readfile(): Filename cannot be empty in %s on line %d 016- bool(false) 017- 018- Warning: readfile(): Filename cannot be empty in %s on line %d 019- bool(false) 020- 021- Warning: readfile() expects parameter 3 to be resource, string given in %s on line %d 022- bool(false) 023- 024- Warning: readfile() expects parameter 3 to be resource, bool given in %s on line %d 025- bool(false) 026- 027- -- Testing readfile() with non-existent file -- 028- 029- Warning: readfile(%s/non_existent_file.tmp): failed to open stream: %s in %s on line %d 030- bool(false) 031- Done