File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 2
2
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3
3
?? ??? ????, PHP 8.0.0rc1
4
4
5
+ - Core:
6
+ . Implement #[Attr] Attribute syntax as per final vote in RFC
7
+ https://wiki.php.net/rfc/shorter_attribute_syntax_change
5
8
6
9
03 Sep 2020, PHP 8.0.0beta3
7
10
Original file line number Diff line number Diff line change @@ -81,10 +81,10 @@ PHP 8.0 UPGRADE NOTES
81
81
Additionally, care should be taken that error messages are not displayed in
82
82
production environments, which can result in information leaks. Please
83
83
ensure that display_errors=Off is used in conjunction with error logging.
84
- . Adding more than one @ operator to an expression is no longer supported,
85
- since this syntax is now used for attributes (previously extra @ operators
86
- had no effect) .
87
- RFC: https://wiki.php.net/rfc/shorter_attribute_syntax
84
+ . Following the hash comment operator # immediately with an opening bracket
85
+ is not supported as a comment anymore since this syntax is now used for
86
+ attributes .
87
+ RFC: https://wiki.php.net/rfc/shorter_attribute_syntax_change
88
88
. Inheritance errors due to incompatible method signatures (LSP violations)
89
89
will now always generate a fatal error. Previously a warning was generated
90
90
in some cases.
@@ -687,6 +687,7 @@ PHP 8.0 UPGRADE NOTES
687
687
RFC: https://wiki.php.net/rfc/attributes_v2
688
688
RFC: https://wiki.php.net/rfc/attribute_amendments
689
689
RFC: https://wiki.php.net/rfc/shorter_attribute_syntax
690
+ RFC: https://wiki.php.net/rfc/shorter_attribute_syntax_change
690
691
. Added support for constructor property promotion (declaring properties in
691
692
the constructor signature).
692
693
RFC: https://wiki.php.net/rfc/constructor_promotion
You can’t perform that action at this time.
0 commit comments