Test: /ext/phar/tests/tar/open_for_write_newfile_c.phpt - Version 7.4.8    

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+ Fatal error: Uncaught UnexpectedValueException: internal corruption of phar "/usr/local/src/php-7.4.8/ext/phar/tests/tar/open_for_write_newfile_c.phar.tar" (truncated entry) in %s/open_for_write_newfile_c.php:6 002+ Stack trace: 003+ #0 %s/open_for_write_newfile_c.php(6): Phar->__construct('/usr/local/src/...') 004+ #1 {main} 005+ thrown in %s/open_for_write_newfile_c.php on line 6 001- Warning: fopen(phar://%sopen_for_write_newfile_c.phar.tar/b/new.php): failed to open stream: phar error: write operations disabled by the php.ini setting phar.readonly in %sopen_for_write_newfile_c.php on line %d 002- 003- Warning: fwrite() expects parameter 1 to be resource, bool given in %sopen_for_write_newfile_c.php on line %d 004- 005- Warning: fclose() expects parameter 1 to be resource, bool given in %sopen_for_write_newfile_c.php on line %d 006- This is b/c 007- 008- Warning: include(phar://%sopen_for_write_newfile_c.phar.tar/b/new.php): failed to open stream: phar error: "b/new.php" is not a file in phar "%sopen_for_write_newfile_c.phar.tar" in %sopen_for_write_newfile_c.php on line %d 009- 010- Warning: include(): Failed opening 'phar://%sopen_for_write_newfile_c.phar.tar/b/new.php' for inclusion (include_path='%s') in %sopen_for_write_newfile_c.php on line %d 011- 012- ===DONE===