Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72880 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14299 invoked from network); 28 Feb 2014 20:37:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Feb 2014 20:37:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.42 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.219.42 mail-oa0-f42.google.com Received: from [209.85.219.42] ([209.85.219.42:64190] helo=mail-oa0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F9/F9-64896-E73F0135 for ; Fri, 28 Feb 2014 15:37:19 -0500 Received: by mail-oa0-f42.google.com with SMTP id i4so937272oah.29 for ; Fri, 28 Feb 2014 12:37:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=9TYsRfqxqrQWpXMYoQ777ZBK3VgYueu4otWidOEpyVA=; b=iAFB0NkGPvBnT0oui5kpx2ngfIR5Z4m/QC2wHLlqrsGet0uRKkANPWp5AdDmwoqsW1 McM4IRfE+iKT9+rlp0n6HI29N5QMRH2K2sfNo3HZKw9e+ZjH3CboWD4sEzxIj4HXfxTO Jx+iusgLIjYGwLMgR2sJWFraPwORZlA8UnP9o4KWj9jlfLbRPjxNC3nE62Z+u+OtZk7t mWGk5fVcNXndaxThfRWleKnflCklCWT9bP/ECtzfDhZAYfwcS6qMPhnRQB/8B267PhWw SN2UBcmMz7QrFhq4DB30KqhamGFlyexl5OsGsgb0A9Fox+xRGDDXzx7pGbCwr+cxsjbB 3sTg== MIME-Version: 1.0 X-Received: by 10.182.149.168 with SMTP id ub8mr3267527obb.74.1393619835770; Fri, 28 Feb 2014 12:37:15 -0800 (PST) Received: by 10.182.54.112 with HTTP; Fri, 28 Feb 2014 12:37:15 -0800 (PST) Date: Fri, 28 Feb 2014 21:37:15 +0100 Message-ID: To: PHP internals , Anatoliy Belsky Content-Type: multipart/alternative; boundary=001a11348500435e9204f37d67af Subject: Add support for PCRE marks From: nikita.ppv@gmail.com (Nikita Popov) --001a11348500435e9204f37d67af Content-Type: text/plain; charset=ISO-8859-1 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 --001a11348500435e9204f37d67af--