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
7878 Additionally, care should be taken that error messages are not displayed in
7979 production environments, which can result in information leaks. Please
8080 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
8185 . Inheritance errors due to incompatible method signatures (LSP violations)
8286 will now always generate a fatal error. Previously a warning was generated
8387 in some cases.
@@ -566,6 +570,7 @@ PHP 8.0 UPGRADE NOTES
566570 . Added support for Attributes
567571 RFC: https://wiki.php.net/rfc/attributes_v2
568572 RFC: https://wiki.php.net/rfc/attribute_amendments
573+ RFC: https://wiki.php.net/rfc/shorter_attribute_syntax
569574 . Added support for constructor property promotion (declaring properties in
570575 the constructor signature).
571576 RFC: https://wiki.php.net/rfc/constructor_promotion
You can’t perform that action at this time.
0 commit comments