Re: Re: [RFC] Deprecations for PHP 7.1
| From: | Rowan Collins | Date: | Sun, 06 Mar 2016 17:47:44 +0000 |
| Subject: | Re: Re: [RFC] Deprecations for PHP 7.1 | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-91521@lists.php.net to get a copy of this message | ||
On 05/03/2016 03:50, Stephen Coakley wrote:
I'm not entirely sure about what you mean. On my system, create_function returns something like '\x00lambda_1'. Do you mean that users are guessing such a string in order to use it? Sounds like the smelliest of code smells.Maybe not constructing it, but detecting it? I'm not sure why you'd *need* to tell the difference between a create_function "lambda" and a Closure instance, but somebody somehwere might have hacked it in. Regards, -- Rowan Collins [IMSoP]