Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87864 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18045 invoked from network); 22 Aug 2015 14:52:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Aug 2015 14:52:47 -0000 Authentication-Results: pb1.pair.com smtp.mail=anatol.php@belski.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=anatol.php@belski.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain belski.net from 85.214.73.107 cause and error) X-PHP-List-Original-Sender: anatol.php@belski.net X-Host-Fingerprint: 85.214.73.107 klapt.com Received: from [85.214.73.107] ([85.214.73.107:34542] helo=h1123647.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A3/01-06657-EBC88D55 for ; Sat, 22 Aug 2015 10:52:46 -0400 Received: by h1123647.serverkompetenz.net (Postfix, from userid 1006) id 0D35623D6299; Sat, 22 Aug 2015 16:52:42 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on h1123647.serverkompetenz.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.5 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=unavailable version=3.3.2 Received: from w530phpdev (pD9FE8C65.dip0.t-ipconnect.de [217.254.140.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by h1123647.serverkompetenz.net (Postfix) with ESMTPSA id 8614D23D6003; Sat, 22 Aug 2015 16:52:39 +0200 (CEST) To: "'Christoph Becker'" , "'Nikita Popov'" Cc: "'Adam Harvey'" , "'PHP internals'" References: <55CA26DF.3030109@gmx.de> <03dd01d0d476$c75b6730$56123590$@belski.net> <55CA646F.8020506@gmx.de> <040101d0d4ca$656f4e20$304dea60$@belski.net> <55CC80FC.5070306@gmx.de> <066a01d0d61f$4937d370$dba77a50$@belski.net> <036401d0dc51$23f45060$6bdcf120$@belski.net> <55D79858.8080506@gmx.de> In-Reply-To: <55D79858.8080506@gmx.de> Date: Sat, 22 Aug 2015 16:52:48 +0200 Message-ID: <04ac01d0dcea$386a6860$a93f3920$@belski.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQH7++SmR5Qqa5F1jGgVRfCNseMOmgMakR6SAY8BXI8BLOfZNwFYh0tDAgjcCuECSonbqgI9gLOFAT/6D6UCYLLr55021zuA Content-Language: en-us Subject: RE: [PHP-DEV] libpcre version requirements From: anatol.php@belski.net ("Anatol Belski") Hi Christoph, > -----Original Message----- > From: Christoph Becker [mailto:cmbecker69@gmx.de] > Sent: Friday, August 21, 2015 11:30 PM > To: Anatol Belski ; 'Nikita Popov' > > Cc: 'Adam Harvey' ; 'Christoph Becker' > ; 'PHP internals' > Subject: Re: [PHP-DEV] libpcre version requirements >=20 > On 21.08.2015 at 22:37, Anatol Belski wrote: >=20 > >> -----Original Message----- > >> From: Nikita Popov [mailto:nikita.ppv@gmail.com] > >> Sent: Friday, August 21, 2015 3:14 PM > >> To: Anatol Belski > >> Cc: Adam Harvey ; Christoph Becker > >> ; PHP internals > >> Subject: Re: [PHP-DEV] libpcre version requirements > >> > >> There already was some discussion about bumping the libpcre version > >> for 5.6. I'll quote what I said back then: > >> > >>> [...] I think the low version requirement is bad for other = reasons: > >> There's a big gulf in terms of both features and bug fixes between > >> PCRE 6.6 and what PHP currently bundles. It's a bit ridiculous that > >> you can end up using a PHP version from 2014 together with a decade = old > PCRE version. > >> > >> and > >> > >>> It would still be nice to increase the minimum version number = [...], > >> because allowing prehistoric PCRE versions in a new release makes > >> zero sense. I recommend at least 8.10 because it both supports = marks > >> and - more relevantly to most users - supports UCP mode, which PHP > >> uses by default (if available). UCP mode can significantly change = the > >> behavior of PCRE with the /u modifier, as such guaranteeing a = minimum > >> version of 8.10 will also guarantee a somewhat consistent /u = behavior. > >> > >> Basically, if we allow a too broad range of PCRE versions, we also > >> allow a broad range of behavior people have to deal with. If people > >> use the /u modifier, they will get significantly (and at the same > >> time subtly) different behavior if PHP was linked against libpcre = newer or > older than 8.10. > >> > >> Distros that will ship with PHP 7 will also ship with new PCRE = versions. > >> External package repositories with PHP 7 will also have newer PCRE = versions. > >> People compiling themselves use the bundled version. > >> > >> Let's bump this. If you install PHP 7 in 2016 you should *not* have > >> to deal with a PCRE version released in 2006. > > > > Yeah, I read this discussion here http://grokbase.com/t/php/php- > internals/142wrqvs7p/add-support-for-pcre-marks . Seems it was not = finished > for some reasons. > > > > I was mentioning "if it doesn't block the future development" = exactly for the > reason to hear if there's something. Now turns out there are at least = two issues > (count yours and Christoph's one) requiring a newer PCRE. Nevertheless = - I'd > prefer to keep the current situation for 7.0 and do it directly in = master after 7.0 > was branched which is merely a month away. Primarily to keep 7.0 = compatible in > as much areas as possible. Also worried a bit about that other 60% = from the > stats which are not Linux, Linuxes look actually good having >8.10 = even for old > stable. But that also means - keeping or not an option to use a lower = version > doesn't really hurt (at least for the popular distros like Debian, = Ubuntu, Fedora). > > > > Also about the future work - IMHO it would make sense to start a = port for > PCRE2 at some point in autumn (and I'm intended to if no one started = earlier) to > target 7.1 or later. Regarding PCRE - it most likely won't get any new = features > but bug fixes only, PCRE2 is what were future oriented. 7.0 won't = arrive in the > distros earlier than in a yeah, or alike. And by that time that can be = completely > another priority. > > > > So concluding - preferably were to keep the PCRE version for 7.0 and = raise in > master, unless you see some hard issue or want to make use of "new" = features > in PCRE 8.x that can't wait anymore, then please do now. >=20 > Would it be an acceptable compromise for everybody to stick with the = current > *requirements* for now, but to document[1] that PCRE >=3D 8.10 is > *recommended* for PHP 5.6 and 7.0? >=20 A documentation can never hurt. For the case the requirement wouldn't be = changed, it's of course even better to have a doc line, IMHO. Regards Anatol