Hello Pierre, yeah nice idea. I am wondering if you might want to add the cvs tag, too? E.g.: PHP_TAG = 'PHP_5_3'
marcus Friday, February 8, 2008, 1:52:27 PM, you 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? > Cheers, Best regards, Marcus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php