Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69567 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82872 invoked from network); 15 Oct 2013 15:47:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Oct 2013 15:47:14 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.173 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.173 mail-we0-f173.google.com Received: from [74.125.82.173] ([74.125.82.173:46313] helo=mail-we0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 48/59-31591-1836D525 for ; Tue, 15 Oct 2013 11:47:13 -0400 Received: by mail-we0-f173.google.com with SMTP id u57so8643671wes.18 for ; Tue, 15 Oct 2013 08:47:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=5wfh3lFxszcthylnG8Sv23pWSLJIWZfx/3Kr4/MIp18=; b=0iePSJEiR/hyEMap71KSs8ZJ8vk0qdyPeC/hkTv+/bjfNcWn9oEemcJijEapI2VmvG iBGEok27442pTWdkOwolUfcoW4esA0SA40H3SQ3WXJdggE/+RxNuqrLQse1o1DK6irNu 6IKUJw1jdeETfqoYWYJArfzCZJSJjMTOQ07VPftE0UUgVehNGuIhoUYX5Xf/ASaLNHo/ +fSTJSzq/CW1vjIZ8sHqBzOwxxOlmyZirhJCMr0D6PRz1pGakYJX7XO5biJ3iwNkcz2o OWRHEf0hZrl74vr1GJsq+20ReQG9Qu3VFeLJkdWiWYkr3b8VajgJ6aRyiO2DpkXxx2fy 2BfA== X-Received: by 10.180.95.168 with SMTP id dl8mr14464005wib.2.1381852030232; Tue, 15 Oct 2013 08:47:10 -0700 (PDT) Received: from [192.168.0.127] ([62.189.198.114]) by mx.google.com with ESMTPSA id mw9sm303070wib.0.2013.10.15.08.47.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Oct 2013 08:47:09 -0700 (PDT) Message-ID: <525D637D.4030201@gmail.com> Date: Tue, 15 Oct 2013 16:47:09 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: PHP Internals References: <525C631E.1050008@gmail.com> In-Reply-To: Content-Type: multipart/alternative; boundary="------------010200050207080208070205" Subject: Re: [PHP-DEV] Proposal to deprecate create_function() From: rowan.collins@gmail.com (Rowan Collins) --------------010200050207080208070205 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Kris Craig wrote (on 15/10/2013): > > 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. Hi Kris, I thought that would be the way to go, and am happy to write one up. As I say, I'm new here, and all the guidelines strongly advised to get an initial reaction from the list first, so I thought I'd draft the key points in an e-mail first, and make sure I wasn't wasting my time on something that had no chance of being accepted. Regards, -- Rowan Collins [IMSoP] --------------010200050207080208070205--