rfc:on_demand_name_mangling

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
rfc:on_demand_name_mangling [2016/01/08 15:17] – Fixed incorrect example. bishoprfc:on_demand_name_mangling [2016/01/08 15:19] – Fixes markup typo and incorrect document linkages. bishop
Line 5: Line 5:
   * Author: Bishop Bettini, bishop@php.net   * Author: Bishop Bettini, bishop@php.net
   * Status: Under Discussion   * Status: Under Discussion
-  * First Published at: http://wiki.php.net/rfc/remove_name_mangling+  * First Published at: http://wiki.php.net/rfc/on_demand_name_mangling
  
 ===== Introduction ===== ===== Introduction =====
Line 92: Line 92:
 In this new implementation, the engine no longer mangles marshaled superglobals at startup.  Instead, the //ability// to mangle names has moved to an optional, userland-provided polyfill function ''mangle_superglobals()''. In this new implementation, the engine no longer mangles marshaled superglobals at startup.  Instead, the //ability// to mangle names has moved to an optional, userland-provided polyfill function ''mangle_superglobals()''.
  
-In the example above, an ''a_b'' key was externally supplied. The call to ''mangle_superglobals'' clobbered the original value of ''a_b'' with the value of the /last/ seen mangle-equivalent key (''a[b'').+In the example above, an ''a_b'' key was externally supplied. The call to ''mangle_superglobals'' clobbered the original value of ''a_b'' with the value of the //last// seen mangle-equivalent key (''a[b'').
  
 Importantly, the user made this mangling happen: the engine did not do it automatically. Importantly, the user made this mangling happen: the engine did not do it automatically.
rfc/on_demand_name_mangling.txt · Last modified: 2019/07/16 12:25 by bishop