From: Tal Peer Date: Sun, 28 Jul 2002 09:09:03 +0000 (+0000) Subject: pear -V now shows pear version, php version and ZE version. X-Git-Tag: dev~131 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6bb32a9b1e2f61cec7f6a3fb34f88b27cefc30ad;p=php pear -V now shows pear version, php version and ZE version. --- diff --git a/pear/scripts/pear.in b/pear/scripts/pear.in index 6e0fa3ef29..3ae9930792 100644 --- a/pear/scripts/pear.in +++ b/pear/scripts/pear.in @@ -242,7 +242,7 @@ function cmdHelp($command) return $ret; } elseif ($command == "version") { - return "PEAR $GLOBALS[pear_package_version]"; + return "PEAR Version: ".$GLOBALS[pear_package_version]."\nPHP Version: ".phpversion()."\nZend Engine Version: ".zend_version(); } elseif ($help = PEAR_Command::getHelp($command)) { if (is_string($help)) {