rfc:language-constructs-syntax-changes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:language-constructs-syntax-changes [2020/07/05 07:27] – brzuchal | rfc:language-constructs-syntax-changes [2020/07/22 08:36] (current) – withdrawning brzuchal | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2020-07-04 | * Date: 2020-07-04 | ||
* Author: Michał Marcin Brzuchalski, | * Author: Michał Marcin Brzuchalski, | ||
- | * Status: | + | * Status: |
* Target Version: PHP 8.0 | * Target Version: PHP 8.0 | ||
* First Published at: http:// | * First Published at: http:// | ||
- | Language constructs syntax changes regarding the need for parentheses for '' | + | Language constructs syntax changes regarding the need for parentheses for '' |
===== Introduction ===== | ===== Introduction ===== | ||
Line 14: | Line 14: | ||
A '' | A '' | ||
nor in write context but require parentheses while some language constructs like '' | nor in write context but require parentheses while some language constructs like '' | ||
- | but they don't require parentheses no matter of context. The same goes to '' | + | but they don't require parentheses no matter of context. |
+ | |||
+ | The same goes to '' | ||
be used as a function nor in write context because it's not an expression and only looks like that. | be used as a function nor in write context because it's not an expression and only looks like that. | ||
Line 44: | Line 46: | ||
<code php> | <code php> | ||
- | __halt_compiler(); | + | $foo = __halt_compiler(); |
</ | </ | ||
rfc/language-constructs-syntax-changes.txt · Last modified: 2020/07/22 08:36 by brzuchal