php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #20184 Add the build date to the output from php -v
Submitted: 2002-10-31 03:20 UTC Modified: 2002-11-04 10:11 UTC
From: vlcc69jfbo001 at sneakemail dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4CVS-2002-10-31 OS: All
Private report: No CVE-ID: None
 [2002-10-31 03:20 UTC] vlcc69jfbo001 at sneakemail dot 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

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-31 04:24 UTC] 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 04:28 UTC] cynic@php.net
<aol>me too</aol> ;)

 [2002-10-31 11:34 UTC] 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-11-01 05:28 UTC] 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-11-04 10:11 UTC] vlcc69jfbo001 at sneakemail dot com
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Aug 19 02:01:28 2024 UTC