Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57739 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29259 invoked from network); 5 Feb 2012 17:22:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2012 17:22:59 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:40901] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4E/E3-09047-0FABE2F4 for ; Sun, 05 Feb 2012 12:22:56 -0500 Received: by yenm5 with SMTP id m5so2422693yen.29 for ; Sun, 05 Feb 2012 09:22:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9ZHHSD5TPcjAbpKa0Lguz9XhsbSqe90DMXN80WNwMpo=; b=gdiP510MiQqCRJvQRsp21WCefwS1hPoVsZ9yxIjLtD0HCShFat9SU9w91BL8pCWLIC 2Yc7myHr20iTvbO5ENZM8A4TjdADa0BEo8pRX85BuaKXcHwM6Nn5NLfuj39DE6vEfxug tfatg555TLzysxLKGUEibM8y8CGF7QRTYQHcg= MIME-Version: 1.0 Received: by 10.236.80.71 with SMTP id j47mr19672163yhe.28.1328462573204; Sun, 05 Feb 2012 09:22:53 -0800 (PST) Received: by 10.146.197.7 with HTTP; Sun, 5 Feb 2012 09:22:53 -0800 (PST) In-Reply-To: <60BDBA28-4E97-4C60-8E31-E34F7E4831AC@gmail.com> References: <4F2EAF7D.9080506@thelounge.net> <60BDBA28-4E97-4C60-8E31-E34F7E4831AC@gmail.com> Date: Sun, 5 Feb 2012 18:22:53 +0100 Message-ID: To: Michael Stowe Cc: Tom Boutell , Reindl Harald , "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [RFC] Deprecate and remove /e modifier from preg_replace From: pierre.php@gmail.com (Pierre Joye) hi, On Sun, Feb 5, 2012 at 5:45 PM, Michael Stowe wrote: > Perhaps another option, if it's a security concern is the ability to turn off the /e modifier, and have it off by default. This way we can protect our less experienced programmers, while keeping it available for more advanced use cases. That sounds like a nicer approach and it is actually one of the RFC I like to see to bring some of the features of Suhosin in PHP (disable eval and the e modifier). Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org