diff --git a/ext/phar/tests/stat.phpt b/ext/phar/tests/stat.phpt index 020fc24f863..184aa6d2ecb 100644 --- a/ext/phar/tests/stat.phpt +++ b/ext/phar/tests/stat.phpt @@ -14,7 +14,7 @@ $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.tar'; $fname3 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar'; $a = new Phar($fname); -$a['index.php'] = ''; $a['dir/file1.txt'] = 'hi'; $a['dir/file2.txt'] = 'hi2'; $a['dir/file3.txt'] = 'hi3'; $a->setStub(' @@ -212,4 +216,10 @@ is_file bool(true) is_link bool(false) +not found +bool(false) +not found 2 + +Warning: fileperms(): stat failed for not/found in phar://%sstat.phar.php/my/index.php on line %d +bool(false) ===DONE=== \ No newline at end of file