From: Tomas V.V.Cox Date: Mon, 30 Jun 2003 10:43:57 +0000 (+0000) Subject: Added "\nRunning on: ".php_uname(); to pear -V X-Git-Tag: BEFORE_ARG_INFO~539 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a00ccf039fd1385e83adef8bd5498391664e27b;p=php Added "\nRunning on: ".php_uname(); to pear -V --- diff --git a/pear/scripts/pearcmd.php b/pear/scripts/pearcmd.php index 2cc2fbd8ae..678e77d617 100644 --- a/pear/scripts/pearcmd.php +++ b/pear/scripts/pearcmd.php @@ -242,7 +242,10 @@ function cmdHelp($command) return $ret; } elseif ($command == "version") { - return "PEAR Version: ".$GLOBALS['pear_package_version']."\nPHP Version: ".phpversion()."\nZend Engine Version: ".zend_version(); + return "PEAR Version: ".$GLOBALS['pear_package_version']. + "\nPHP Version: ".phpversion(). + "\nZend Engine Version: ".zend_version(). + "\nRunning on: ".php_uname(); } elseif ($help = PEAR_Command::getHelp($command)) { if (is_string($help)) {