mirror of
https://github.com/php/php-src.git
synced 2024-09-30 06:16:08 +00:00
8f7e378b9f
Phar::mapPhar fails for Phars inside a path containing ".tar". Strengthen the silly .tar file extension check.
20 lines
321 B
PHP
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===
|