xref: /PHP-7.3/ext/phar/tests/zip/corrupt_010.phpt (revision 84488d92)
1--TEST--
2Phar: unable to process zip (zip spanning multiple archives)
3--SKIPIF--
4<?php if (!extension_loaded("phar")) die("skip"); ?>
5--FILE--
6<?php
7try {
8	new PharData(dirname(__FILE__) . '/files/disknumber.zip');
9} catch (Exception $e) {
10	echo $e->getMessage() . "\n";
11}
12?>
13===DONE===
14--EXPECTF--
15phar error: split archives spanning multiple zips cannot be processed in zip-based phar "%sdisknumber.zip"
16===DONE===
17