rfc:forbid_dynamic_scope_introspection
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
rfc:forbid_dynamic_scope_introspection [2016/05/15 20:44] – voting nikic | rfc:forbid_dynamic_scope_introspection [2016/05/16 08:52] – typos nikic |
---|
===== Introduction ===== | ===== Introduction ===== |
| |
Dynamic calls to functions like ''extract()'', which either inspect or modify the parent scope or stack frame, have unclear behavior (with disagreements between PHP versions and runtimes and dependence on surrounding code), may result in highly unexpected scope modifications (e.g. when used as an autoloader) and for this reason also pose a signficant reason for the optimization of PHP. This RFC aims to forbid dynamic calls to such functions. | Dynamic calls to functions like ''extract()'', which either inspect or modify the parent scope or stack frame, have unclear behavior (with disagreements between PHP versions and runtimes and dependence on surrounding code), may result in highly unexpected scope modifications (e.g. when used as an autoloader) and for this reason also pose a significant problem for the optimization of PHP. This RFC aims to forbid dynamic calls to such functions. |
| |
===== Proposal ===== | ===== Proposal ===== |
rfc/forbid_dynamic_scope_introspection.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1