diff options
author | Benjamin Eberlei <kontakt@beberlei.de> | 2020-09-02 20:32:52 +0200 |
---|---|---|
committer | Benjamin Eberlei <kontakt@beberlei.de> | 2020-09-02 20:32:52 +0200 |
commit | 842be67b60d302f5629af0838a31432d32d66ce7 (patch) | |
tree | 906a479b1a612654f266419a50cc56ca8549a63d /UPGRADING | |
parent | 8b37c1e993f17345312a76a239b77ae137d3f8e8 (diff) | |
download | php-git-842be67b60d302f5629af0838a31432d32d66ce7.tar.gz |
Update NEWS, UPGRADING
Diffstat (limited to 'UPGRADING')
-rw-r--r-- | UPGRADING | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -81,10 +81,10 @@ PHP 8.0 UPGRADE NOTES Additionally, care should be taken that error messages are not displayed in production environments, which can result in information leaks. Please ensure that display_errors=Off is used in conjunction with error logging. - . Adding more than one @ operator to an expression is no longer supported, - since this syntax is now used for attributes (previously extra @ operators - had no effect). - RFC: https://wiki.php.net/rfc/shorter_attribute_syntax + . Following the hash comment operator # immediately with an opening bracket + is not supported as a comment anymore since this syntax is now used for + attributes. + RFC: https://wiki.php.net/rfc/shorter_attribute_syntax_change . Inheritance errors due to incompatible method signatures (LSP violations) will now always generate a fatal error. Previously a warning was generated in some cases. @@ -687,6 +687,7 @@ PHP 8.0 UPGRADE NOTES RFC: https://wiki.php.net/rfc/attributes_v2 RFC: https://wiki.php.net/rfc/attribute_amendments RFC: https://wiki.php.net/rfc/shorter_attribute_syntax + RFC: https://wiki.php.net/rfc/shorter_attribute_syntax_change . Added support for constructor property promotion (declaring properties in the constructor signature). RFC: https://wiki.php.net/rfc/constructor_promotion |