cvs: php-src(PHP_5_3) /ext/phar/phar clicommand.inc

From: Date: Sat, 31 May 2008 20:30:27 +0000
Subject: cvs: php-src(PHP_5_3) /ext/phar/phar clicommand.inc
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-50219@lists.php.net to get a copy of this message
helly Sat May 31 20:30:27 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/phar/phar clicommand.inc Log: - MFH Simplify http://cvs.php.net/viewvc.cgi/php-src/ext/phar/phar/clicommand.inc?r1=1.23.4.1&r2=1.23.4.2&diff_format=u Index: php-src/ext/phar/phar/clicommand.inc diff -u php-src/ext/phar/phar/clicommand.inc:1.23.4.1 php-src/ext/phar/phar/clicommand.inc:1.23.4.2 --- php-src/ext/phar/phar/clicommand.inc:1.23.4.1 Sat May 31 20:24:34 2008 +++ php-src/ext/phar/phar/clicommand.inc Sat May 31 20:30:27 2008 @@ -370,11 +370,7 @@ function cli_cmd_run_help_list() { ksort($this->cmds); - $lst = ''; - foreach($this->cmds as $name => $funcs) { - $lst .= $name . ' '; - } - echo substr($lst, 0, -1) . "\n"; + echo join(' ', array_keys($this->cmds)) . "\n"; } }

« previous php.cvs (#50219) next »