[RFC] On-Demand Name Mangling
| From: | Bishop Bettini | Date: | Fri, 01 Jan 2016 21:47:09 +0000 |
| Subject: | [RFC] On-Demand Name Mangling | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-89957@lists.php.net to get a copy of this message | ||
Hello Internals,
Ringing in the new year with a proposal to retool name mangling:
Mangling has the undesirable consequence that many external variables may
map to one PHP variable. This leads to user confusion and user-land
workarounds, not to mention bug reports. Since register_globals has been
removed, we can replace automatic name mangling with on-demand mangling via
extract(). This allows a one-to-one between external and PHP super-global
variables, while fixing a few bug reports on extract as well.
RFC: https://wiki.php.net/rfc/on_demand_name_mangling
Thanks in advance for your feedback!
bishop