006.phpt 290 B

1234567891011121314
  1. --TEST--
  2. Phar::mapPhar truncated manifest (manifest length truncated)
  3. --EXTENSIONS--
  4. phar
  5. --FILE--
  6. <?php
  7. try {
  8. Phar::mapPhar('hio');
  9. } catch (Exception $e) {
  10. echo $e->getMessage();
  11. }
  12. __HALT_COMPILER(); ?>
  13. --EXPECTF--
  14. internal corruption of phar "%s" (truncated manifest at manifest length)