diff options
author | Tal Peer <tal@php.net> | 2002-07-28 09:09:03 +0000 |
---|---|---|
committer | Tal Peer <tal@php.net> | 2002-07-28 09:09:03 +0000 |
commit | 6bb32a9b1e2f61cec7f6a3fb34f88b27cefc30ad (patch) | |
tree | c5c0a54f7afe1f0b7595d37d5d847b16aab6302f /pear/scripts | |
parent | 6cefddee6f55e6be92971dc7b688112d28598922 (diff) | |
download | php-git-6bb32a9b1e2f61cec7f6a3fb34f88b27cefc30ad.tar.gz |
pear -V now shows pear version, php version and ZE version.
Diffstat (limited to 'pear/scripts')
-rw-r--r-- | pear/scripts/pear.in | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |