Re: Proposal to deprecate create_function()

From: Date: Thu, 17 Oct 2013 11:20:27 +0000
Subject: Re: Proposal to deprecate create_function()
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Mon, Oct 14, 2013 at 11:33 PM, Rowan Collins <[email protected]> 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


Thread (33 messages)

« previous php.internals (#69601) next »