On Feb 8, 2008 7:52 AM, Pierre Joye <[EMAIL PROTECTED]> 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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php