Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87707 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76818 invoked from network); 11 Aug 2015 17:01:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Aug 2015 17:01:30 -0000 Authentication-Results: pb1.pair.com header.from=adam@adamharvey.name; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=adam@adamharvey.name; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain adamharvey.name designates 209.85.217.174 as permitted sender) X-PHP-List-Original-Sender: adam@adamharvey.name X-Host-Fingerprint: 209.85.217.174 mail-lb0-f174.google.com Received: from [209.85.217.174] ([209.85.217.174:33167] helo=mail-lb0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F4/81-00789-96A2AC55 for ; Tue, 11 Aug 2015 13:01:30 -0400 Received: by lbbsx3 with SMTP id sx3so33487327lbb.0 for ; Tue, 11 Aug 2015 10:01:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamharvey.name; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=RiwqGRr/EKPXIqbZLPYKbiVrOl8aYWB8gCjY33zZH+w=; b=1LJI17GgoMvTZMMEr5BhTjRFHATOUIy/igFs675scFh5M3+lf/91g4HehwOtd9DQwT BlHwXXXYibdx+2no/5kkxMFn/42tRyWugg95wn7y21ZHXM00k1VoUiZVVymJdN2ctZia XONhUzxPofIfBvw5lWDiq+9jTq5vq6crH73cg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=RiwqGRr/EKPXIqbZLPYKbiVrOl8aYWB8gCjY33zZH+w=; b=DfAsIW+h8HhnR/qKjdJSI0Me1GjMTq73FvGwqSMl7egbNCLPg4gQ/PjK8Ew8eQFzlR m3rRgzN6lqXRiOfX8L5hNuS4/iKYHPI1POZu0iDeS2Epx8n4ri4yLxspkScFyX4eo8oS Fww5pbq0HDrXAto+wBKrIVwTygsZS9i+QLsM8J4LS98sLMYSJSKtWpuR4qZvR2OsAhMN k4VUHP5/rHZVNfl99tfEeJR8hEGmbRRfUEs+RYaZ7K6+xW2UnazsByieixJ9qUfSpD5k T9QlNUvIAE2PAWjsKMtSXU2yJ2plTnmURcYr0foL7d+Uj6p29Xp11We4ssTvjH9GfRet 20sA== X-Gm-Message-State: ALoCoQnWl8WYHBDbz61Io0L9UAGDXIiNk/JLh1iiSEB7ZEuqIgO67gomBpGB4og5PSwPM+/wAumq X-Received: by 10.152.87.116 with SMTP id w20mr27245530laz.119.1439312486513; Tue, 11 Aug 2015 10:01:26 -0700 (PDT) MIME-Version: 1.0 Sender: adam@adamharvey.name Received: by 10.25.159.70 with HTTP; Tue, 11 Aug 2015 10:01:06 -0700 (PDT) In-Reply-To: <55CA26DF.3030109@gmx.de> References: <55CA26DF.3030109@gmx.de> Date: Tue, 11 Aug 2015 10:01:06 -0700 X-Google-Sender-Auth: CkrWyBfgGdUyQfU9wwhIyl9oI2Q Message-ID: To: Christoph Becker Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] libpcre version requirements From: aharvey@php.net (Adam Harvey) On 11 August 2015 at 09:46, Christoph Becker wrote: > 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? CentOS/RHEL 5 provides libpcre 6.6, which is probably where that specific minimum version comes from. Someone out there is probably still building packages that rely on this. > 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). I guess the question's really whether we should still support an _external_ libpcre that old, since we bundle much newer versions. I think the argument against changing it has always been that it works and we didn't need anything newer, but if we have a reason now then that doesn't really hold. One problem is that I don't think we can really change the minimum requirement on a stable branch, so for 5.5 and 5.6 we're going to have to implement something that works with older versions regardless, but I'd be for bumping the minimum version requirement for 7.0 if it makes the code cleaner (on that branch, at least) moving forward. Adam