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

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
020+
021+ Warning: file_get_contents(./hi): failed to open stream: No such file or directory in phar:///root/sources/php-7.3.4/ext/phar/tests/fgc_edgecases.phar.php/foo/hi on line 8
022+
023+ Warning: file_get_contents(phar:///root/sources/php-7.3.4/ext/phar/tests/fgc_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/fgc_edgecases.phar.php/foo/hi on line 9
024+
025+ Warning: file_get_contents(./hi): failed to open stream: No such file or directory in phar:///root/sources/php-7.3.4/ext/phar/tests/fgc_edgecases.phar.php/foo/hi on line 10
026+
027+ Warning: file_get_contents(./hi): failed to open stream: No such file or directory in phar:///root/sources/php-7.3.4/ext/phar/tests/fgc_edgecases.phar.php/foo/hi on line 11
020- <?php
021- echo file_get_contents("foo/" . basename(__FILE__));
022- $context = stream_context_create();
023- file_get_contents("./hi", 0, $context, 0, -1);
024- echo file_get_contents("foob");
025- set_include_path("%stests");
026- echo file_get_contents("foob", true);
027- echo file_get_contents("./hi", 0, $context);
028- echo file_get_contents("../oops");
029- echo file_get_contents("./hi", 0, $context, 50000);
030- echo file_get_contents("./hi");
031- echo file_get_contents("./hi", 0, $context, 0, 0);
032- ?>
029+ Warning: file_get_contents(./hi): failed to open stream: No such file or directory in phar:///root/sources/php-7.3.4/ext/phar/tests/fgc_edgecases.phar.php/foo/hi on line 12
030+ ===DONE===
034- Warning: file_get_contents(phar://%sfgc_edgecases.phar.php/oops): failed to open stream: phar error: path "oops" is a directory in phar://%sfgc_edgecases.phar.php/foo/hi on line %d
035-
036- Warning: file_get_contents(): Failed to seek to position 50000 in the stream in phar://%sfgc_edgecases.phar.php/foo/hi on line %d
037- <?php
038- echo file_get_contents("foo/" . basename(__FILE__));
039- $context = stream_context_create();
040- file_get_contents("./hi", 0, $context, 0, -1);
041- echo file_get_contents("foob");
042- set_include_path("%stests");
043- echo file_get_contents("foob", true);
044- echo file_get_contents("./hi", 0, $context);
045- echo file_get_contents("../oops");
046- echo file_get_contents("./hi", 0, $context, 50000);
047- echo file_get_contents("./hi");
048- echo file_get_contents("./hi", 0, $context, 0, 0);
049- ?>
050- ===DONE===