Test: /ext/phar/tests/readfile_edgecases.phpt - Version 7.3.4    

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
014+
015+ Warning: readfile(./hi): failed to open stream: No such file or directory in phar:///root/sources/php-7.3.4/ext/phar/tests/readfile_edgecases.phar.php/foo/hi on line 7
016+
017+ Warning: readfile(phar:///root/sources/php-7.3.4/ext/phar/tests/readfile_edgecases.phar.php/oops): failed to open stream: phar error: path "oops" is a directory in phar:///root/sources/php-7.3.4/ext/phar/tests/readfile_edgecases.phar.php/foo/hi on line 8
018+ ===DONE===
014- <?php
015- readfile("foo/" . basename(__FILE__));
016- $context = stream_context_create();
017- readfile("foob");
018- set_include_path("%stests");
019- readfile("foob", true);
020- readfile("./hi", 0, $context);
021- readfile("../oops");
022- ?>
023-
024- Warning: readfile(phar://%sreadfile_edgecases.phar.php/oops): failed to open stream: phar error: path "oops" is a directory in phar://%sreadfile_edgecases.phar.php/foo/hi on line %d
025- ===DONE===