Re: com php-src: List PHP extension api version nos in zend_extensions.h: Zend/zend_extensions.h
| From: | Nikita Popov | Date: | Sun, 18 Oct 2015 22:01:00 +0000 |
| Subject: | Re: com php-src: List PHP extension api version nos in zend_extensions.h: Zend/zend_extensions.h | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-89441@lists.php.net to get a copy of this message | ||
On Fri, Sep 25, 2015 at 2:46 AM, Stanislav Malyshev <stas@php.net> wrote:
> Commit: 1273ae85f1c3d67d664643ac5dccb95f74663f2b
> Author: c9s <yoanlin93@gmail.com> Wed, 16 Sep 2015 14:31:48
> +0800
> Parents: 0eb689fa0df0bb0a1a4415aa608f9e00a79653fa
> Branches: master
>
> Link:
>
> http://git.php.net/?p=php-src.git;a=commitdiff;h=1273ae85f1c3d67d664643ac5dccb95f74663f2b
>
> Log:
> List PHP extension api version nos in zend_extensions.h
>
> - Put doc constants in comment
> - Link to github issue #1523
>
> Bugs:
> https://bugs.php.net/1523
>
> Changed paths:
> M Zend/zend_extensions.h
>
>
> Diff:
> diff --git a/Zend/zend_extensions.h b/Zend/zend_extensions.h
> index 8ef773b..423bac1 100644
> --- a/Zend/zend_extensions.h
> +++ b/Zend/zend_extensions.h
> @@ -25,6 +25,27 @@
> #include "zend_compile.h"
> #include "zend_build.h"
>
> +/*
> +The constants below are derived from ext/opcache/ZendAccelerator.h
> +
> +You can use the following macro to check the extension API version for
> compatibilities:
> +
> +#define ZEND_EXTENSION_API_NO_5_0_X 220040412
> +#define ZEND_EXTENSION_API_NO_5_1_X 220051025
> +#define ZEND_EXTENSION_API_NO_5_2_X 220060519
> +#define ZEND_EXTENSION_API_NO_5_3_X 220090626
> +#define ZEND_EXTENSION_API_NO_5_4_X 220100525
> +#define ZEND_EXTENSION_API_NO_5_5_X 220121212
> +#define ZEND_EXTENSION_API_NO_5_6_X 220131226
> +#define ZEND_EXTENSION_API_NO_7_1_X 320140815
>
Should be 7_0_X and 320151012.
Nikita