Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69601 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13093 invoked from network); 17 Oct 2013 11:20:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Oct 2013 11:20:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.176 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.217.176 mail-lb0-f176.google.com Received: from [209.85.217.176] ([209.85.217.176:53666] helo=mail-lb0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 30/10-12663-EF7CF525 for ; Thu, 17 Oct 2013 07:20:30 -0400 Received: by mail-lb0-f176.google.com with SMTP id y6so1773988lbh.35 for ; Thu, 17 Oct 2013 04:20:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MDBgdIKnA3RisG07Rblq3JVpl8SpXj68ZH0VTkatTzU=; b=s6PfsFYhFPGn+9jGQ/ace8HKvWZREMwcWufRDFawhrr8RJlLLNH7W3SKaDmqkbw482 oRduR4ZFXJTQls5Bj3uGRb3QajG5dta5N1n1w8n0pdHav/Rwb63Gx/P0Rc1GC8t64+dZ n0LGQ4YY1gcn/XXRvAlZaaylMLbSNgPPEPdEosNMuIbzPWX+beSigboxPFUt2OnTne2D jhthv9qMzJSnOPNwGDQ5ohw5jPMJ7LV3mvRI5WtrAHYDOQfYorDaeC0wNSXn32NvDsS+ UV25ugSE/PziAZUZaolvc8SPKZpUSJjFd6D4FofhU6Q5dLXEGA2revG3vu7ZV4kqN8db baOw== MIME-Version: 1.0 X-Received: by 10.112.0.173 with SMTP id 13mr6912213lbf.8.1382008827192; Thu, 17 Oct 2013 04:20:27 -0700 (PDT) Received: by 10.112.148.138 with HTTP; Thu, 17 Oct 2013 04:20:27 -0700 (PDT) In-Reply-To: <525C631E.1050008@gmail.com> References: <525C631E.1050008@gmail.com> Date: Thu, 17 Oct 2013 13:20:27 +0200 Message-ID: To: Rowan Collins Cc: PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Proposal to deprecate create_function() From: pierre.php@gmail.com (Pierre Joye) On Mon, Oct 14, 2013 at 11:33 PM, Rowan Collins wrote: > If anyone can think of any counter-arguments - and in particular, any uses > of create_function() which can't trivially be replaced with either a true > closure or a direct call to eval() - I would be interested to hear them. I think a documentation (as Nikic did or maybe improve it if necessary) is enough. The deprecation tag is not about educating people but about actually thinking about removing something at some point. I don't see how we could remove create_function any time soon. Cheers, -- Pierre @pierrejoye | http://www.libgd.org