php-src/ext/phar/tests/005.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
288 B
PHP

--TEST--
Phar::mapPhar truncated manifest (none)
--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