Annotation of embedaddon/php/ext/phar/tests/webphar_compilefail.phpt, revision 1.1

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>