PHP 8.1 RFC: new
in initializers
new in initializers | |
New Feature | |
PHP 8.1 | |
Implemented |
RFC Vote: new
in initializers
- | |
>= 2/3 | |
Yes: 43No: 2 |
This RFC proposes to allow use of new
expressions inside parameter default values, attribute arguments, static variable initializers and global constant initializers.