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("zlib")) die("skip zlib not available"); ?> 6--FILE-- 7<?php 8$fname = str_replace('\\', '/', __DIR__ . '/files/HTML_CSS-1.5.4.tgz'); 9try { 10 $tar = new PharData($fname); 11} catch(Exception $e) { 12 echo $e->getMessage() . "\n"; 13} 14?> 15===DONE=== 16--EXPECT-- 17===DONE=== 18