Re: [RFC] PCRE2 migration
| From: | Christoph M. Becker | Date: | Wed, 25 Oct 2017 15:55:19 +0000 |
| Subject: | Re: [RFC] PCRE2 migration | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100940@lists.php.net to get a copy of this message | ||
Hi Anatol!
On 23.10.2017 at 22:12, Anatol Belski wrote:
>> -----Original Message-----
>> From: Christoph M. Becker [mailto:cmbecker69@gmx.de]
>> Sent: Monday, October 23, 2017 4:24 PM
>> To: Anatol Belski <ab@php.net>; internals@lists.php.net
>> Subject: Re: [RFC] PCRE2 migration
>>
>> In my opinion, the only real issue is that the internal API would change (the few
>> userland affecting changes appear to be acceptable). I can't assess how many
>> extensions actually use the public API of ext/pcre, but this might be an issue
>> regarding the adoption of PHP 7.3.
>
> Some exts use PCRE or the PHP API, of course. From what I've seen so far
>
> - The migration is easy, despite the PCRE2 API is somewhat different. If asked, I could help
> patching any code for PCRE2 support.
> - there's time to rework the API as in the patch, some points can be changed significantly
> - From what I could tell, the ratio of PECL exts using PCRE is low. In fact, I can't
> remember any, OFC there are be some.
Well, that sounds good. :) And yes, I'm aware that upgrading to PCRE2
is actually long overdue, so +1 from me.
--
Christoph M. Becker