Re: Proposal to deprecate create_function()
| From: | Pierre Joye | Date: | Thu, 17 Oct 2013 19:29:25 +0000 |
| Subject: | Re: Proposal to deprecate create_function() | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-69657@lists.php.net to get a copy of this message | ||
On Thu, Oct 17, 2013 at 11:24 AM, Rowan Collins <rowan.collins@gmail.com> wrote:
> On 17/10/2013 18:52, Pierre Joye wrote:
>>>
>>> The only real difference I can see with create_function is that it is/was
>>> >more widely used; is that your concern, or do you see a fundamental
>>> >difference between the two situations?
>>
>> I do. create_function is used for many very valid use cases, safely,
>> much more than /e ever was (and its security impact was much bigger).
>> Deprecating it does not help us nor our users at this stage.
>
>
> If create_function did not exist, would any of those use cases persuade you
> that it should?
Not with latest PHP releases, but that's the point: we try to keep BC.
--
Pierre
@pierrejoye | http://www.libgd.org