mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
[ci skip] yield /*comment*/ from
is no longer a parse error
Closes GH-15276.
This commit is contained in:
parent
cbe73a158f
commit
7bb5a2ee43
1 changed files with 3 additions and 0 deletions
|
@ -45,6 +45,9 @@ PHP 8.3 UPGRADE NOTES
|
|||
be removed during cycle collection if the key is not reachable except by
|
||||
iterating over the WeakMap (reachability via iteration is considered weak).
|
||||
Previously, such entries would never be automatically removed.
|
||||
. In addition to whitespace characters, now comments are allowed between
|
||||
`yield` and `from`. The whole "construct" (e.g. `yield /* comment */ from`)
|
||||
is reported as a single `T_YIELD_FROM` token by the tokenizer.
|
||||
|
||||
- DOM:
|
||||
. DOMChildNode::after(), DOMChildNode::before(), DOMChildNode::replaceWith()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue