Re: [patch] expose PHP version details as constants
| From: | David Coallier | Date: | Fri, 08 Feb 2008 19:52:08 +0000 |
| Subject: | Re: [patch] expose PHP version details as constants | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35334@lists.php.net to get a copy of this message | ||
On Feb 8, 2008 7:52 AM, Pierre Joye <pierre.php@gmail.com> wrote:
> Hi,
>
> Testing the PHP version can be much easier and faster if the versions
> details were exposed via the constants, like what we use internally.
> This little patch expose what we have in php_version.h
>
>
> #define PHP_MAJOR_VERSION 5
> #define PHP_MINOR_VERSION 2
> #define PHP_RELEASE_VERSION 6
> #define PHP_EXTRA_VERSION "-dev"
> #define PHP_VERSION "5.2.6-dev" << already available as contant
> #define PHP_VERSION_ID 50206
>
> Patch against 5.2 attached.
>
> Any objections?
Bla bla bla.. Commit the thing already :))
>
> Cheers,
> --
> Pierre
> http://blog.thepimp.net |
> http://www.libgd.org
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
David Coallier,
Founder & Software Architect,
Agora Production (http://agoraproduction.com)
51.42.06.70.18