]> granicus.if.org Git - php/commitdiff
pear -V now shows pear version, php version and ZE version.
authorTal Peer <tal@php.net>
Sun, 28 Jul 2002 09:09:03 +0000 (09:09 +0000)
committerTal Peer <tal@php.net>
Sun, 28 Jul 2002 09:09:03 +0000 (09:09 +0000)
pear/scripts/pear.in

index 6e0fa3ef29c22e83668b3428def03a543cd8fe4a..3ae9930792e74697c76daeb9b158bfe16f524f2b 100644 (file)
@@ -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)) {