Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69556 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11788 invoked from network); 14 Oct 2013 23:38:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Oct 2013 23:38:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=kris.craig@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=kris.craig@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.48 as permitted sender) X-PHP-List-Original-Sender: kris.craig@gmail.com X-Host-Fingerprint: 209.85.160.48 mail-pb0-f48.google.com Received: from [209.85.160.48] ([209.85.160.48:34516] helo=mail-pb0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5C/CE-31591-0708C525 for ; Mon, 14 Oct 2013 19:38:24 -0400 Received: by mail-pb0-f48.google.com with SMTP id ma3so7932781pbc.35 for ; Mon, 14 Oct 2013 16:38:21 -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=OT5D2thnJS2P3HTUHoIIGaqvDhza45sNYVjuon0/9qY=; b=JHQXneldfb86JVJ10G2gkzTZooaRhG3YDDIV/qolVBCeE6zd863gAhCB9hOFp2ikYs Wa9uzIXNVSGOxkrD6GJvTs8ya0aMceaO3DfgHoOpMC3nmXY93unRRVSwLAGbxE8s3N1D DlW3Uh7eDQKmY20qIN98xRlJq6PRXuCDbONfVRPW7vFRg3Ji32TraUDcux5jHEYJcmAQ D+SFkwZczjP0tq2rc/kHENMbCv4IdowirucPcmGoTSJCXraWB1QNsMl+fay4J5F8AtHW Ygz6GTB22s5scgtVbBlXBZMQqAHhLOUc2mPlD152GpGF1Qzg2JJNwMX/ib+otpbYLbMJ 8+mw== MIME-Version: 1.0 X-Received: by 10.68.234.165 with SMTP id uf5mr38773136pbc.41.1381793901427; Mon, 14 Oct 2013 16:38:21 -0700 (PDT) Received: by 10.70.11.161 with HTTP; Mon, 14 Oct 2013 16:38:21 -0700 (PDT) In-Reply-To: <525C631E.1050008@gmail.com> References: <525C631E.1050008@gmail.com> Date: Mon, 14 Oct 2013 16:38:21 -0700 Message-ID: To: Rowan Collins Cc: PHP Internals Content-Type: multipart/alternative; boundary=047d7b33cb76a5c56e04e8bbf650 Subject: Re: [PHP-DEV] Proposal to deprecate create_function() From: kris.craig@gmail.com (Kris Craig) --047d7b33cb76a5c56e04e8bbf650 Content-Type: text/plain; charset=ISO-8859-1 > (First, a quick aside: I'm new here, so let me know if I'm treading on any > toes or failing to do my homework properly. Also, apologies for > long-windedness; it's a personal flaw.) > I disagree. Verbosity is preferable to cheap one-liners. =) > > I would like to propose that create_function() be officially deprecated, > to encourage people to use the much safer and more powerful anonymous > functions we've had since 5.3, and eventually allow this relic to be > removed from the language. Would you consider drafting an RFC for this? Please also include details on the current (post-5.3) functionality that replaces it. --Kris --047d7b33cb76a5c56e04e8bbf650--