Test: /ext/phar/tests/bug54289.phpt - Version 7.3.6        

Bug #54289 Phar::extractTo() does not accept specific directories to be extracted
Submitted: 2011-03-17 10:44:06 Modified: 2018-01-06 07:26:27
From: hpdl Assigned: bishop
Status: Closed Package: PHAR related
PHP Version: 5.3.5 OS: MacOS 10.6.6

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
001+ Warning: Phar::extractTo(): Permission denied in %s/bug54289.php on line 13
002+
003+ Fatal error: Uncaught PharException: Extraction from phar "/home/vagrant/downloads/php-7.3.6/ext/phar/tests/bug54289/test.phar" failed: Cannot extract "dirA/fileB", could not create directory "/home/vagrant/downloads/php-7.3.6/ext/phar/tests/bug54289/out/dirA" in %s/bug54289.php:13
004+ Stack trace:
001- bool(true)
002- bool(true)
003- bool(false)
004- done
005+ #0 %s/bug54289.php(13): Phar->extractTo('/home/vagrant/d...', 'dirA/', true)
006+ #1 {main}
007+ thrown in %s/bug54289.php on line 13