1--TEST--
2Phar: Phar::webPhar, open compiled file fails
3--SKIPIF--
4<?php if (!extension_loaded("phar")) die("skip");?>
5--INI--
6phar.readonly=1
7--FILE--
8<?php
9try {
10Phar::webPhar('oopsiedaisy.phar', '/index.php');
11} catch (Exception $e) {
12echo $e->getMessage() . "\n";
13}
14__HALT_COMPILER();
15?>
16--EXPECTF--
17internal corruption of phar "%swebphar_compilefail.php" (truncated manifest at manifest length)