Re: PHP7 PECL Extensions
| From: | Remi Collet | Date: | Thu, 10 Sep 2015 17:35:11 +0000 |
| Subject: | Re: PHP7 PECL Extensions | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-88146@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Le 10/09/2015 19:14, Pierre Joye a écrit :
> On Sep 10, 2015 10:32 PM, "Sean DuBois" <sean@siobud.com> wrote:
>>
>> On Thu, Sep 10, 2015 at 03:25:16PM +0100, Joe Watkins wrote:
>>> Afternoon internals,
>>>
>>> Is there any concrete plan for deploying pecl extensions for
>>> PHP7 ?
>>>
>>> Anatol (or anyone), is there any way to get windows ext's
>>> built
> against
>>> RC's while we're waiting for PECL/pickle/apples/whatever to be
>>> sorted ?
>>>
>>> Cheers Joe
>>
>> Quite a few extensions are being developed via branches now. It
>> sounds like this will be ok if pickle is being used, but should I
>> be worried about causing people headaches before that is ready?
>
> Branches are releases nightmares if they are all have the same
> versions, like all are 1.4.x but only one branch supports 7.
>
> I have asked that some time ago already and pointed out that we
> should really support semver and one branch per extension version,
> not per supported php version.
I definitively agree on this.
" Extension version have to reflect the extension API version "
Which probably have to be the same for php 5 and php 7
Else imagine the nightmare for user to detect API...
>
>> I really don't want to have a bunch of preprocessor use in the
>> extensions I am working on. It makes them harder to maintain, and
>> a lot harder for new contributors.
>
> It is not necessary required, you an email multiple files. Single
> branche also helps to ensure APIs compatibility across php versions
> (same codename being maintained).
>
Yes multiple files is NOT perfect, but it works
(when too much conditional for a single file)
See https://github.com/pierrejoye/php_zip
And it works.
Remi.
>
>> thanks
>>
>> -- PHP Internals - PHP Runtime Development Mailing List To
>> unsubscribe, visit: http://www.php.net/unsub.php
>>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlXxv08ACgkQYUppBSnxahhOOACfTOWy9MnNlTCezhO3BeIDvRyU
OlsAn3zM1h7gGxm/OJ4R8EhvwV5cvkHN
=rFRS
-----END PGP SIGNATURE-----