|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-08-27 14:49 UTC] steph dot fox at virgin dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 19:00:01 2025 UTC |
Description: ------------ When fullpath with any dot used, Phar throw [UnexpectedValueException]: Cannot create phar '/some/path/lo.mytests/package.phar', file extension (or combination) not recognised. Same test with any real path and without dot, accepted correctly. Reproduce code: --------------- $fname = '/some/path/lo.mytests/package.phar'; try { $myphar = new Phar($fname); } catch (Exception $e){ var_dump($e); } Expected result: ---------------- no UnexpectedValueException for paths with dots