Add support for PCRE marks
| From: | Nikita Popov | Date: | Fri, 28 Feb 2014 20:37:15 +0000 |
| Subject: | Add support for PCRE marks | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-72880@lists.php.net to get a copy of this message | ||
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