#20184 [Opn->Csd]: Add the build date to the output from php -v
| From: | vlcc69jfbo001 at sneakemail dot com | Date: | Mon, 04 Nov 2002 16:11:09 +0000 |
| Subject: | #20184 [Opn->Csd]: Add the build date to the output from php -v | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-24052@lists.php.net to get a copy of this message | ||
ID: 20184
User updated by: vlcc69jfbo001@sneakemail.com
Reported By: vlcc69jfbo001@sneakemail.com
-Status: Open
+Status: Closed
Bug Type: Feature/Change Request
Operating System: All
PHP Version: 4CVS-2002-10-31
New Comment:
Well, arguments aside, someone has now done this:
>php -v
PHP 4.3.0-dev (cli) (built: Nov 4 2002 16:07:58),
Copyright (c) 1997-2002 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend
Technologies
Thank you! Bug closed.
Previous Comments:
------------------------------------------------------------------------
[2002-11-01 05:28:28] nohn@php.net
reopened this feature request
phpinfo() is not enough as the output of phpinfo cannot easily be
analyzed. if not adding this to other functions something like
php_buildate or even better php_package_date (the date when the archive
was packed and uploaded to the server) would be great.
see also http://lists.php.net/article.php?group=php.qa&article=6527
------------------------------------------------------------------------
[2002-10-31 11:34:58] sniper@php.net
Added. phpinfo() already has this information and adding it
to any other place is waste of time.
(but propably someone will add a function for this too..*sigh*)
------------------------------------------------------------------------
[2002-10-31 04:28:12] cynic@php.net
<aol>me too</aol> ;)
------------------------------------------------------------------------
[2002-10-31 04:24:39] nohn@php.net
I would appreciate this change, it would make everything much easier.
This output should also be added to phpinfo(), phpversion() and
anything else where a version information is returned by PHP.
------------------------------------------------------------------------
[2002-10-31 03:20:13] vlcc69jfbo001@sneakemail.com
When testing CVS versions of PHP it is occasionally easy to
lose track of which date's version you're running, whether
you forgot to compile after the last CVS update etc. Other
than burrowing for the executables and reading modification
dates, there doesn't seem to be an simple way of finding
the build date. It would seem like a reasonable idea to add
the build date to the output from php -v. so it reads
something like:
>php -v
PHP 4.3.0-dev (cli) (built: Oct 29 12:04), Copyright (c)
1997-2002 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend
Technologies
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20184&edit=1