rfc:forbid_dynamic_scope_introspection

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
rfc:forbid_dynamic_scope_introspection [2016/05/15 20:44] – voting nikicrfc:forbid_dynamic_scope_introspection [2016/05/24 16:39] nikic
Line 3: Line 3:
   * Date: 2016-05-01   * Date: 2016-05-01
   * Author: Nikita Popov <nikic@php.net>   * Author: Nikita Popov <nikic@php.net>
-  * Status: In voting+  * Status: Accepted (for PHP 7.1)
   * Target version: PHP 7.1   * Target version: PHP 7.1
  
 ===== 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 =====
Line 127: Line 127:
 The vote requires a 2/3 majority. Voting closes on 2016-05-24. The vote requires a 2/3 majority. Voting closes on 2016-05-24.
  
-<doodle title="Forbid dynamic calls to scope introspection functions?" auth="nikic" voteType="single" closed="false">+<doodle title="Forbid dynamic calls to scope introspection functions?" auth="nikic" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
rfc/forbid_dynamic_scope_introspection.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1