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";
}
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php