← Back
Editing: corrupt_003.phpt
--TEST-- Phar: corrupted zip (truncated file comment) --SKIPIF-- <?php if (!extension_loaded("phar")) die("skip"); ?> --FILE-- <?php try { new PharData(__DIR__ . '/files/filecomment.zip'); } catch (Exception $e) { echo $e->getMessage() . "\n"; } ?> --EXPECTF-- phar error: end of central directory not found in zip-based phar "%sfilecomment.zip"
Save File
Cancel