xref: /PHP-7.1/ext/phar/tests/006.phpt (revision 16b4d8e0)
1--TEST--
2Phar::mapPhar truncated manifest (manifest length truncated)
3--SKIPIF--
4<?php if (!extension_loaded("phar")) die("skip");?>
5--FILE--
6<?php
7try {
8Phar::mapPhar('hio');
9} catch (Exception $e) {
10echo $e->getMessage();
11}
12__HALT_COMPILER(); ?>
13--EXPECTF--
14internal corruption of phar "%s" (truncated manifest at manifest length)
15