Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87723 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9508 invoked from network); 11 Aug 2015 21:09:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Aug 2015 21:09:06 -0000 Authentication-Results: pb1.pair.com smtp.mail=cmbecker69@gmx.de; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=cmbecker69@gmx.de; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.de designates 212.227.15.19 as permitted sender) X-PHP-List-Original-Sender: cmbecker69@gmx.de X-Host-Fingerprint: 212.227.15.19 mout.gmx.net Received: from [212.227.15.19] ([212.227.15.19:64015] helo=mout.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F0/A7-00789-0746AC55 for ; Tue, 11 Aug 2015 17:09:05 -0400 Received: from [192.168.0.100] ([91.67.244.142]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MKqOW-1ZPGn72e5w-0001Ca; Tue, 11 Aug 2015 23:09:01 +0200 Message-ID: <55CA646F.8020506@gmx.de> Date: Tue, 11 Aug 2015 23:09:03 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Anatol Belski , 'PHP internals' References: <55CA26DF.3030109@gmx.de> <03dd01d0d476$c75b6730$56123590$@belski.net> In-Reply-To: <03dd01d0d476$c75b6730$56123590$@belski.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:A9TwqdgNGkL3lmzovEAdntIbSCX6Fyq9yC1M8UIzSYUMTTWTIP8 LhZ07+yTXgCIQuTb/ScRKRJV9k5e5vs1gIbGqfTt646gjEq/3xEOqS2LYZThdU461BG7NKf FyagQYjIdLiGmsMdrPw2uc/rqpCicIyolXLCIu0t9CswQLxL/j2lS9aOt2teGorJhCudeJH QQid5ogXUkuaXq3zxHSYA== X-UI-Out-Filterresults: notjunk:1;V01:K0:NAClYtXnUhI=:pXykqb/ARyJy0Uea9tSRAT xdQm2gjBZm7oQLCB5AvY9QU5NgqCvCja8xxauYLnl1qEIY6x7VLpDMBMFCHC6JJULCaWDG60h U21lj+oAza690I0PN6/l3AIZqZvYGRroby5AHhoDuUo5kujuHVjzON+/8AGpEYFKVMZie6MaI R3rotLpdt9InGwCs+Pm+A6t0gWPDqNrR5Jwqv3e3s7n4r2cXKpd90HlPFAdvG+cc/tpX0CEwF x82cF8NM/rTnoZbGxV80Td7Xz6t24IwstaTSU7NOs1aonw+VTPjVktvmfEpZRR+qJjOxftdx2 MRfJMY1LeiCGeMO6J2aj+3qP3ZF4dU+hys8+FKsfbXe/nvdohQo4B2cFEhWc+PlcYC6JO+ZEq Ww88srpPJWVeNs4B9dXiHEsw5Cz4Nk9QQC10W4jFiq1YcsSaoE2FRx7aaQqDoodvmpT5kX7KE VveO3Z1ju1MhNRWUdZC5Xcr1shLCE1LpBS8Pk5XZpJ7X+u2PdfraFNFngvT6sLYq1mWgUHrRe qBUm3O19TVYtLtJc9kDr9mYIfxNdJ8oxTA2B440+GjFqVZbpFCspy48oKVeh+nXY8b63fkiQI 4fGrTquqB+uTuvjjpMnoM40M8T+iCeLZX4jOtwVU7qBjEXvgUfKFXXRnHlPTJjaLjY4o9IgQn QOTAGopeBIbGNGljRt1g1lLByK1BBZDO+Losvz6qNrcax/8iCq+yfnvcMI0WL4UnkSzP7NYUn fwqHC4tMUnxNvc3ollQ6zzm2AdkHD5PoOIJZjw== Subject: Re: [PHP-DEV] libpcre version requirements From: cmbecker69@gmx.de (Christoph Becker) On 11.08.2015 at 22:46, Anatol Belski wrote: >> -----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 >> >> 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? >> >> 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). > > 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. The difference to cURL, AIUI, is that this is not about an option that can be supplied by the user (and checked for existance in user-land code, by e.g. defined(CURLOPT_*)), but rather something that is for internal use only, and therefore much less obvious for user-land developers. IOW: fixing bug #70232 is trivial, but the bug would still persist for libpcre 7.2 - 7.9. If that's not regarded as a general issue, I'm fine with it. Still, I would suggest to raise the libpcre requirements to PCRE >= 8.0 for PHP 7.0 or at least for PHP 7.1. -- Christoph M. Becker