|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-11-22 13:34 UTC] greg at chiaraquartet dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 19:00:01 2025 UTC |
Description: ------------ in cli_cmd_run_extract() there is a missing $this-> when accessing $args, thus breaking extract Reproduce code: --------------- Patch: diff -ur T/pharcommand.inc phar/pharcommand.inc --- T/pharcommand.inc 2007-11-20 17:23:27.000000000 -0500 +++ phar/pharcommand.inc 2007-11-20 17:39:35.000000000 -0500 @@ -746,7 +746,7 @@ } } - $phar = $args['f']['val']; + $phar = $this->args['f']['val']; $base = $phar->getPathname(); $bend = strpos($base, '.phar'); $bend = strpos($base, '/', $bend);