Re: [VOTE] Forbid dynamic calls to scope introspection functions
| From: | Bishop Bettini | Date: | Mon, 16 May 2016 14:04:20 +0000 |
| Subject: | Re: [VOTE] Forbid dynamic calls to scope introspection functions | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-93358@lists.php.net to get a copy of this message | ||
>
> The RFC
>
> https://wiki.php.net/rfc/forbid_dynamic_scope_introspection
>
> is now in voting. The vote closes on 2016-05-24 with a required majority of
> 2/3.
I voted no. While I agree these appear to be exotic use cases, my quibble
boils down to the assumption these minimally exist in the wild. Several
templating systems rely on extract, and func_get_args drives several
framework collection classes. I can see userland invoking these inside of
array_map (etc) and dynamically.
I'd be a Yes if we start with a warning in 7.1 and then error in the next
major.