Re: [PHP-CVS] com php-src: Merge from GitHub: ext/opcache/ZendAccelerator.c ext/opcache/ZendAccelerator.h

2013-08-02 Thread Stas Malyshev
Hi! Something like the following? (it wasn't tested) #define ACCELERATOR_VERSION_BASE 7.0.3 #define ACCELERATOR_VERSION_SUFFIX -dev #iif PHP_EXTRA_VERSION # define ACCELERATOR_VERSION ACCELERATOR_VERSION_BASE ACCELERATOR_VERSION_SUFFIX #else # define ACCELERATOR_VERSION

Re: [PHP-CVS] com php-src: Merge from GitHub: ext/opcache/ZendAccelerator.c ext/opcache/ZendAccelerator.h

2013-07-31 Thread Dmitry Stogov
Something like the following? (it wasn't tested) #define ACCELERATOR_VERSION_BASE 7.0.3 #define ACCELERATOR_VERSION_SUFFIX -dev #iif PHP_EXTRA_VERSION # define ACCELERATOR_VERSION ACCELERATOR_VERSION_BASE ACCELERATOR_VERSION_SUFFIX #else # define ACCELERATOR_VERSION ACCELERATOR_VERSION_BASE (

Re: [PHP-CVS] com php-src: Merge from GitHub: ext/opcache/ZendAccelerator.c ext/opcache/ZendAccelerator.h

2013-07-30 Thread Dmitry Stogov
Hi Johannes, I agree, this -dev suffix is annoying in PHP releases. However, I don't see a simple way to avoid it. I don't like to complicate PHP release process or increase OPcache version on each release. In my opinion, it would be good if in releases -dev would be automatically substituted

Re: [PHP-CVS] com php-src: Merge from GitHub: ext/opcache/ZendAccelerator.c ext/opcache/ZendAccelerator.h

2013-07-30 Thread Stas Malyshev
Hi! I agree, this -dev suffix is annoying in PHP releases. However, I don't see a simple way to avoid it. Can we reuse PHP_EXTRA_VERSION from php_version.h? This was dev code will keep -dev, but releases would have no suffix. RCs would be marked as RC but that shouldn't be a big problem I

[PHP-CVS] com php-src: Merge from GitHub: ext/opcache/ZendAccelerator.c ext/opcache/ZendAccelerator.h

2013-07-28 Thread Dmitry Stogov
Commit:ae5e70afac265e6b113d7995bb10479ee2565aba Author:Dmitry Stogov dmi...@zend.com Sun, 28 Jul 2013 13:47:13 +0400 Parents: bafe0e5399a200cb88685cd32c362e45b27221fb Branches: PHP-5.5 master Link:

Re: [PHP-CVS] com php-src: Merge from GitHub: ext/opcache/ZendAccelerator.c ext/opcache/ZendAccelerator.h

2013-07-28 Thread Johannes Schlüter
On Sun, 2013-07-28 at 09:47 +, Dmitry Stogov wrote: index 733e544..5f414f2 100644 --- a/ext/opcache/ZendAccelerator.h +++ b/ext/opcache/ZendAccelerator.h @@ -27,7 +27,7 @@ #endif #define ACCELERATOR_PRODUCT_NAME Zend OPcache -#define ACCELERATOR_VERSION 7.0.2-dev +#define