1--TEST-- 2Phar::webPhar GH-14603 3--EXTENSIONS-- 4phar 5--CREDITS-- 6Yuancheng Jiang 7--FILE-- 8PK��eI���a.phpnuW+A��hioPK��eI�`���.phar/stub.phpnuW+A��<?php 9function s($a) 10{ 11 static $b = array("/hi" => false); 12 if (isset($b[$a])) return $b[$a]; 13 return $a; 14} 15try { 16 Phar::webPhar("whatever", "index.php", null, array(), "s"); 17} catch (\PharException $e) { 18 echo $e->getMessage() . PHP_EOL; 19} 20echo "DONE"; 21__HALT_COMPILER();?> 22PK��eI���a.jpgnuW+A��hioPK��eIl�`a.phpsnuW+A��<?php function hio(){}PK!��+�e.phar/signature.binnu��Andpv�i� 22Q9���Gk!2��PK��eI���a.phpnuW+A��PK��eI�`���8.phar/stub.phpnuW+A��PK��eI���ta.jpgnuW+A��PK��eIl�`�a.phpsnuW+A��PK!��+�e�.phar/signature.binnu��APKqW 23--EXPECTF-- 24%sphar error: end of central directory not found in zip-based phar%s 25DONE 26