dis-bench / src /php /php-src /ext /phar /tests /004.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
218 Bytes
--TEST--
Phar::mapPhar no __HALT_COMPILER();
--EXTENSIONS--
phar
--FILE--
<?php
try {
Phar::mapPhar('hio');
} catch (Exception $e) {
echo $e->getMessage();
}
?>
--EXPECT--
__HALT_COMPILER(); must be declared in a phar