From 6bb32a9b1e2f61cec7f6a3fb34f88b27cefc30ad Mon Sep 17 00:00:00 2001 From: Tal Peer Date: Sun, 28 Jul 2002 09:09:03 +0000 Subject: [PATCH] pear -V now shows pear version, php version and ZE version. --- pear/scripts/pear.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.50.1