Bug #65467 [Opn->Csd]: Call to undefined method cli_arg_typ_string

From: Date: Mon, 30 Mar 2015 13:42:13 +0000
Subject: Bug #65467 [Opn->Csd]: Call to undefined method cli_arg_typ_string
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-191724@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65467&edit=1 ID: 65467 Updated by: mike@php.net Reported by: clicky at erebot dot net Summary: Call to undefined method cli_arg_typ_string -Status: Open +Status: Closed Type: Bug Package: PHAR related Operating System: Irrelevant PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Automatic comment on behalf of mike Revision: http://git.php.net/?p=php-src.git;a=commit;h=6de25c155e3a90c273af311d71298ec88ac61833 Log: Fixed Bug #65467 Previous Comments: ------------------------------------------------------------------------ [2013-08-17 15:44:16] clicky at erebot dot net Description: ------------ Using the "pack" command in phar.phar with the openssl algorithm (-h option) and a password for the key (-y option) results in a fatal error over a call to an undefined method. The bug exists in all versions of PHP that I have tested where the Phar extension is bundled, namely: - PHP 5.3.27 - PHP 5.4.17 - PHP 5.5.2 Test script: --------------- phar pack -f /tmp/foo.phar.bz2 -c bz2 -h openssl -y password /tmp/baz Expected result: ---------------- Phar archive is created/updated successfully. Actual result: -------------- PHP Fatal error: Call to undefined method PharCommand::cli_arg_typ_string() in phar:///home/clicky/Documents/git/phpfarm/inst/php-5.5.2-debug/bin/phar.phar/pharcommand.inc on line 400 PHP Stack trace: PHP 1. {main}() /home/clicky/Documents/git/phpfarm/inst/php-5.5.2-debug/bin/phar.phar:0 PHP 2. CLICommand->__construct() /home/clicky/Documents/git/phpfarm/inst/php-5.5.2-debug/bin/phar.phar:61 PHP 3. CLICommand->checkArgTyp() phar:///home/clicky/Documents/git/phpfarm/inst/php-5.5.2-debug/bin/phar.phar/clicommand.inc:51 PHP 4. call_user_func() phar:///home/clicky/Documents/git/phpfarm/inst/php-5.5.2-debug/bin/phar.phar/clicommand.inc:106 PHP 5. PharCommand->cli_arg_typ_privkey() phar:///home/clicky/Documents/git/phpfarm/inst/php-5.5.2-debug/bin/phar.phar/clicommand.inc:106 (other PHP versions display similar output) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65467&edit=1

« previous php.bugs (#191724) next »