Skip to content

new_variable '{' expr '}' is deprecated as well#4693

Closed
cmb69 wants to merge 2 commits intophp:PHP-7.4from
cmb69:new-curly-depr
Closed

new_variable '{' expr '}' is deprecated as well#4693
cmb69 wants to merge 2 commits intophp:PHP-7.4from
cmb69:new-curly-depr

Conversation

@cmb69
Copy link
Copy Markdown
Member

@cmb69 cmb69 commented Sep 9, 2019

Curly brace syntax for accessing array elements and string offsets is
deprecated [1]; this should also be the case for respective new
expressions.

This issue has been reported by brzuchal@php.net.

[1] https://wiki.php.net/rfc/deprecate_curly_braces_array_access

Curly brace syntax for accessing array elements and string offsets is
deprecated [1]; this should also be the case for respective `new`
expressions.

This issue has been reported by brzuchal@php.net.

[1] <https://wiki.php.net/rfc/deprecate_curly_braces_array_access>
@cmb69
Copy link
Copy Markdown
Member Author

cmb69 commented Sep 9, 2019

Applied as bcf9d1e.

@cmb69 cmb69 closed this Sep 9, 2019
@cmb69 cmb69 deleted the new-curly-depr branch September 9, 2019 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants