File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,10 @@ PHP 8.0 UPGRADE NOTES
78
78
Additionally, care should be taken that error messages are not displayed in
79
79
production environments, which can result in information leaks. Please
80
80
ensure that display_errors=Off is used in conjunction with error logging.
81
+ . Adding more than one @ operator to an expression is no longer supported,
82
+ since this syntax is now used for attributes (previously extra @ operators
83
+ had no effect).
84
+ RFC: https://wiki.php.net/rfc/shorter_attribute_syntax
81
85
. Inheritance errors due to incompatible method signatures (LSP violations)
82
86
will now always generate a fatal error. Previously a warning was generated
83
87
in some cases.
@@ -598,6 +602,7 @@ PHP 8.0 UPGRADE NOTES
598
602
. Added support for Attributes
599
603
RFC: https://wiki.php.net/rfc/attributes_v2
600
604
RFC: https://wiki.php.net/rfc/attribute_amendments
605
+ RFC: https://wiki.php.net/rfc/shorter_attribute_syntax
601
606
. Added support for constructor property promotion (declaring properties in
602
607
the constructor signature).
603
608
RFC: https://wiki.php.net/rfc/constructor_promotion
You can’t perform that action at this time.
0 commit comments