Re: Proposal to deprecate create_function()

From: Date: Mon, 14 Oct 2013 23:38:21 +0000
Subject: Re: Proposal to deprecate create_function()
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-69556@lists.php.net to get a copy of this message
> (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

« previous php.internals (#69556) next »