rfc:closure_apply
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:closure_apply [2014/08/17 23:00] – Corrected inaccuracy ajf | rfc:closure_apply [2014/08/20 14:14] – No longer previously mentioned ajf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== PHP RFC: Closure:: | ====== PHP RFC: Closure:: | ||
* Version: 0.3 | * Version: 0.3 | ||
- | * Date: 2014-07-29, put to internals 2014-08-03, latest 2014-08-17 | + | * Date: 2014-07-29, put to internals 2014-08-03, latest 2014-08-19 |
* Author: Andrea Faulds, ajf@ajf.me | * Author: Andrea Faulds, ajf@ajf.me | ||
- | * Status: | + | * Status: |
* First Published at: http:// | * First Published at: http:// | ||
Line 34: | Line 34: | ||
class Foo { private $x = 3; } | class Foo { private $x = 3; } | ||
$foo = new Foo; | $foo = new Foo; | ||
- | $foobar = function () { var_dump($this-> | + | $foobar = function () { var_dump($this-> |
$foobar-> | $foobar-> | ||
</ | </ | ||
Line 95: | Line 95: | ||
===== Proposed PHP Version(s) ===== | ===== Proposed PHP Version(s) ===== | ||
- | This is proposed for the next version of PHP, either the next 5.x or PHP NEXT, whichever comes sooner. The patch is based on master, intended for the next 5.x. | + | This is proposed for the next version of PHP, either the next 5.x or PHP NEXT, whichever comes sooner. The patch is based on master, intended for PHP 7. |
===== Future Scope ===== | ===== Future Scope ===== | ||
Line 106: | Line 106: | ||
Voting started 2014-08-17 but was cancelled the same day due to the removal of unbound scoped closures. | Voting started 2014-08-17 but was cancelled the same day due to the removal of unbound scoped closures. | ||
+ | |||
+ | Voting started again on 2014-08-20 and ends 2014-08-27. | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
===== Patches and Tests ===== | ===== Patches and Tests ===== | ||
Line 115: | Line 122: | ||
===== References ===== | ===== References ===== | ||
- | * As previously mentioned, my [[rfc: | + | * My [[rfc: |
===== Changelog ===== | ===== Changelog ===== |
rfc/closure_apply.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1