Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87721 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6023 invoked from network); 11 Aug 2015 20:46:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Aug 2015 20:46:24 -0000 Authentication-Results: pb1.pair.com header.from=anatol.php@belski.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=anatol.php@belski.net; spf=permerror; 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:46384] helo=h1123647.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FF/E6-00789-C1F5AC55 for ; Tue, 11 Aug 2015 16:46:21 -0400 Received: by h1123647.serverkompetenz.net (Postfix, from userid 1006) id 9F6FF23D6299; Tue, 11 Aug 2015 22:46:16 +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 (p579F362E.dip0.t-ipconnect.de [87.159.54.46]) (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 A8C6B23D6003; Tue, 11 Aug 2015 22:46:14 +0200 (CEST) To: "'Christoph Becker'" , "'PHP internals'" References: <55CA26DF.3030109@gmx.de> In-Reply-To: <55CA26DF.3030109@gmx.de> Date: Tue, 11 Aug 2015 22:46:17 +0200 Message-ID: <03dd01d0d476$c75b6730$56123590$@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++SmR5Qqa5F1jGgVRfCNseMOmp2wtmjw 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: Tuesday, August 11, 2015 6:46 PM > To: PHP internals > Subject: [PHP-DEV] libpcre version requirements >=20 > Hi all! >=20 > What is the minimum libpcre version that is supported as external = libpcre for > ext/pcre? According to config0.m4 it is PCRE 6.6 (2006-02-06), but is = this still > valid and do we really have to support such old versions? >=20 > I'm asking because of bug #70232 which can easily be fixed, but that = requires > PCRE 8.00 (2009-10-19). If we have to support older PCRE versions, = we'd > probably need a fallback to the current behavior (which would = obviously keep > the bug). >=20 IMHO the dependent version shouldn't be raised. But not sure what is = meant by "implementing for lower versions". Probably if it's missing in = PCRE, so is it. We should avoid reimplementing it, but just doing what = is done in the other exts, fe curl. Users can choose to upgrade the = dependency or to miss the feature. So a compile time PCRE version check = were enough. Regards Anatol