Re: Add support for PCRE marks

From: Date: Fri, 28 Feb 2014 20:59:43 +0000
Subject: Re: Add support for PCRE marks
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message


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 -- [email protected] http://twitter.com/ghrd Free PHP & Oracle book: http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html

Thread (9 messages)

« previous php.internals (#72881) next »