go to bug id or search bugs for
The cli_arg_typ_filenew function incorrectly creates the full path to a file.
if you pass in -f of "test.phar"
cli_arg_typ_filenew will return
as $d will be "." so strlen($d) == 1 and substr($args,1) will be "est.phar"
Add a Patch
Add a Pull Request
This bug has been fixed in CVS.
In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.
In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PECL better.
use solution in better bug #12492