xref: /php-src/ext/phar/tests/005.phpt (revision 74859783)
1--TEST--
2Phar::mapPhar truncated manifest (none)
3--EXTENSIONS--
4phar
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