1--TEST-- 2Phar: bug #71498: Out-of-Bound Read in phar_parse_zipfile() 3--SKIPIF-- 4<?php if (!extension_loaded("phar")) die("skip"); ?> 5--FILE-- 6<?php 7try { 8$p = new PharData(__DIR__."/bug71498.zip"); 9} catch(UnexpectedValueException $e) { 10 echo $e->getMessage(); 11} 12?> 13 14DONE 15--EXPECTF-- 16phar error: end of central directory not found in zip-based phar "%s%ebug71498.zip" 17DONE 18