php-src/ext/phar/tests/006.phpt
Marcus Boerger a3fcdf4f08 - Add OO interface to handling phar archieves and entries
- Add support for HEAD
- Cleanup
2006-02-28 01:36:30 +00:00

11 lines
307 B
PHP

--TEST--
Phar::mapPhar truncated manifest (manifest length truncated)
--SKIPIF--
<?php if (!extension_loaded("phar")) print "skip";?>
--FILE--
<?php
Phar::mapPhar('hio');
__HALT_COMPILER(); ?>
--EXPECTF--
%satal error: Phar::mapPhar(): internal corruption of phar "%s" (truncated manifest) in %s on line %d