xref: /PHP-7.3/ext/phar/tests/004.phpt (revision ded3d984)
1--TEST--
2Phar::mapPhar no __HALT_COMPILER();
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?>
13--EXPECT--
14__HALT_COMPILER(); must be declared in a phar
15