Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72881 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20978 invoked from network); 28 Feb 2014 20:59:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Feb 2014 20:59:56 -0000 Authentication-Results: pb1.pair.com header.from=christopher.jones@oracle.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=christopher.jones@oracle.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain oracle.com designates 141.146.126.69 as permitted sender) X-PHP-List-Original-Sender: christopher.jones@oracle.com X-Host-Fingerprint: 141.146.126.69 aserp1040.oracle.com Received: from [141.146.126.69] ([141.146.126.69:47412] helo=aserp1040.oracle.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 28/7B-64896-6C8F0135 for ; Fri, 28 Feb 2014 15:59:51 -0500 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s1SKxihV001421 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 28 Feb 2014 20:59:45 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1SKxiL4014054 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 28 Feb 2014 20:59:44 GMT Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1SKxhtY014049; Fri, 28 Feb 2014 20:59:43 GMT Received: from [130.35.70.121] (/130.35.70.121) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 28 Feb 2014 12:59:43 -0800 Message-ID: <5310F8BF.8090503@oracle.com> Date: Fri, 28 Feb 2014 12:59:43 -0800 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: Nikita Popov , PHP internals , Anatoliy Belsky References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: acsinet21.oracle.com [141.146.126.237] Subject: Re: [PHP-DEV] Add support for PCRE marks From: christopher.jones@oracle.com (Christopher Jones) On 02/28/2014 12:37 PM, Nikita Popov wrote: > Hi internals! > > I wrote a patch to expose PCRE mark information in PHP, see > https://github.com/php/php-src/pull/609/files. The last passed *MARK will > be added to the $matches array under key "MARK". If you don't use marks > everything stays exactly the same. > > Does anyone have a problem with exposing it in this way? > > In this context, would there be a problem with increasing the minimum > required PCRE version (for builds against an external library) from 6.6 to > 8.10 (the current, bundled version is 8.34)? That would avoid adding > #ifdefs for this code. Is there some particular reason for 6.6 here? > > Thanks, > Nikita > If I read my RPMs correctly, the PCRE version on Oracle Linux 5 (which is equivalent to RHEL 5) is 6.6. Oracle Linux 6 has PCRE 7.8. Chris -- christopher.jones@oracle.com http://twitter.com/ghrd Free PHP & Oracle book: http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html