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.
@@ -579,6 +583,7 @@ PHP 8.0 UPGRADE NOTES
579
583
. Added support for Attributes
580
584
RFC: https://wiki.php.net/rfc/attributes_v2
581
585
RFC: https://wiki.php.net/rfc/attribute_amendments
586
+ RFC: https://wiki.php.net/rfc/shorter_attribute_syntax
582
587
. Added support for constructor property promotion (declaring properties in
583
588
the constructor signature).
584
589
RFC: https://wiki.php.net/rfc/constructor_promotion
You can’t perform that action at this time.
0 commit comments