1--TEST-- 2Bug #71504: Parsing of tar file with duplicate filenames causes memory leak 3--SKIPIF-- 4<?php if (!extension_loaded('phar')) die('skip'); ?> 5<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> 6<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?> 7--FILE-- 8<?php 9$fname = str_replace('\\', '/', dirname(__FILE__) . '/files/HTML_CSS-1.5.4.tgz'); 10try { 11 $tar = new PharData($fname); 12} catch(Exception $e) { 13 echo $e->getMessage() . "\n"; 14} 15?> 16===DONE=== 17--EXPECT-- 18===DONE=== 19