Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57724 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2696 invoked from network); 5 Feb 2012 15:39:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2012 15:39:35 -0000 Authentication-Results: pb1.pair.com smtp.mail=tom@punkave.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tom@punkave.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain punkave.com designates 209.85.210.170 as permitted sender) X-PHP-List-Original-Sender: tom@punkave.com X-Host-Fingerprint: 209.85.210.170 mail-iy0-f170.google.com Received: from [209.85.210.170] ([209.85.210.170:50117] helo=mail-iy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5C/E4-36317-6B2AE2F4 for ; Sun, 05 Feb 2012 10:39:34 -0500 Received: by iakk32 with SMTP id k32so8281587iak.29 for ; Sun, 05 Feb 2012 07:39:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.77.234 with SMTP id v10mr6476814igw.29.1328456371716; Sun, 05 Feb 2012 07:39:31 -0800 (PST) Received: by 10.231.178.65 with HTTP; Sun, 5 Feb 2012 07:39:31 -0800 (PST) In-Reply-To: References: Date: Sun, 5 Feb 2012 10:39:31 -0500 Message-ID: To: Nikita Popov Cc: PHP internals Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlJ1I45OrigI6IKnVV8LVO8IQCKLPvaCgCt8I62DN63emwVt4ZlqGGOEyEmEbTYL4KQkhGJ Subject: Re: [PHP-DEV] [RFC] Deprecate and remove /e modifier from preg_replace From: tom@punkave.com (Tom Boutell) I think this is a good idea, since nobody's keeping you from calling eval() in a callback if you really really really need to, there's no loss of functionality, just the discouragement of an unhealthy "worst practice." (: On Sun, Feb 5, 2012 at 9:59 AM, Nikita Popov wrote: > Hi internals! > > I have written an RFC that proposes to *deprecate* and *remove* the /e modifier: > > https://wiki.php.net/rfc/remove_preg_replace_eval_modifier > > Comments welcome! > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com