Skip to content

Commit 37a682a

Browse files
committed
Update UPGRADING
1 parent 81fa3f8 commit 37a682a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

UPGRADING

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)