Re: Re: [RFC] Deprecations for PHP 7.1
| From: | Johannes Schlüter | Date: | Fri, 04 Mar 2016 21:49:29 +0000 |
| Subject: | Re: Re: [RFC] Deprecations for PHP 7.1 | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-91505@lists.php.net to get a copy of this message | ||
On Fri, 2016-03-04 at 12:29 -0600, Stephen Coakley wrote:
> Not a complete polyfill, since $newfunc is a closure and not a string,
> so you cannot print out the function name. I have no idea if any code
> relies on the lambda itself being a string though.
This has impact on a few things, i.e. Reflection or users might guess
the name. Anyways: Take away: A polyfill won't be 100% identical.
However the typical use case should be around usort() or similar where
this doesn't matter.
johannes
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc