Skip to content

Commit 9252f1b

Browse files
committed
Update UPGRADING
1 parent a3101a7 commit 9252f1b

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.
@@ -598,6 +602,7 @@ PHP 8.0 UPGRADE NOTES
598602
. Added support for Attributes
599603
RFC: https://wiki.php.net/rfc/attributes_v2
600604
RFC: https://wiki.php.net/rfc/attribute_amendments
605+
RFC: https://wiki.php.net/rfc/shorter_attribute_syntax
601606
. Added support for constructor property promotion (declaring properties in
602607
the constructor signature).
603608
RFC: https://wiki.php.net/rfc/constructor_promotion

0 commit comments

Comments
 (0)