1--TEST-- 2Phar: corrupted zip (extra field way too long) 3--SKIPIF-- 4<?php if (!extension_loaded("phar")) die("skip"); ?> 5--FILE-- 6<?php 7try { 8 new PharData(dirname(__FILE__) . '/files/extralen_toolong.zip'); 9} catch (Exception $e) { 10 echo $e->getMessage() . "\n"; 11} 12?> 13===DONE=== 14--EXPECTF-- 15phar error: Unable to process extra field header for file in central directory in zip-based phar "%sextralen_toolong.zip" 16===DONE=== 17