Hi Christoph, > -----Original Message----- > From: Christoph M. Becker [mailto:cmbecke...@gmx.de] > Sent: Monday, October 23, 2017 4:24 PM > To: Anatol Belski <a...@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. > This said, I'm presently +0.9 on accepting the RFC. > PCRE2 implements new features and fixes issues, while the legacy version only gets backports which are not optimal. At the time after two years PCRE2 release and the situation with PCRE support, switching seems a thing to me. The existing features are not broken, better Unicode support and improvements in functionality and memory handling speak for that. Regards Anatol