php-src/ext/phar/tests/tar/bug67761.phpt
Michael Wallner 8f7e378b9f fix bug #67761
Phar::mapPhar fails for Phars inside a path containing ".tar".

Strengthen the silly .tar file extension check.
2015-03-30 14:41:30 +02:00

20 lines
321 B
PHP

--TEST--
Bug #67761 (Phar::mapPhar fails for Phars inside a path containing ".tar")
--SKIPIF--
<?php extension_loaded("phar") or die("SKIP need ext/phar suppport"); ?>
--FILE--
<?php
echo "Test\n";
include __DIR__."/files/bug67761.tar/bug67761.phar";
?>
===DONE===
--EXPECT--
Test
#!/usr/bin/env php
Test
===DONE===