diff options
Diffstat (limited to 'ext/phar/tests/readfile_edgecases.phpt')
-rw-r--r-- | ext/phar/tests/readfile_edgecases.phpt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/phar/tests/readfile_edgecases.phpt b/ext/phar/tests/readfile_edgecases.phpt index b99ae4333f..d351287788 100644 --- a/ext/phar/tests/readfile_edgecases.phpt +++ b/ext/phar/tests/readfile_edgecases.phpt @@ -10,7 +10,6 @@ Phar::interceptFileFuncs(); $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php'; $pname = 'phar://' . $fname; -readfile(array()); chdir(__DIR__); file_put_contents($fname, "blah\n"); file_put_contents("foob", "test\n"); @@ -35,7 +34,6 @@ include $pname . '/foo/hi'; <?php rmdir(__DIR__ . '/poo'); ?> <?php unlink(__DIR__ . '/foob'); ?> --EXPECTF-- -Warning: readfile() expects parameter 1 to be a valid path, array given in %sreadfile_edgecases.php on line %d blah <?php readfile("foo/" . basename(__FILE__)); |