diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-24 10:35:03 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-24 10:35:42 +0200 |
commit | 0a5b7c81b705869618755ed2d559702be6f9d6e4 (patch) | |
tree | d0e8331c5e31c8695c96b4017332a6ef8e24d2ef /UPGRADING | |
parent | 9bf119832dbf625174794834c71b1e793450d87f (diff) | |
download | php-git-0a5b7c81b705869618755ed2d559702be6f9d6e4.tar.gz |
Make nested ternary without parentheses a compile error
This was deprecated in PHP 7.4.
Diffstat (limited to 'UPGRADING')
-rw-r--r-- | UPGRADING | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -208,6 +208,8 @@ PHP 8.0 UPGRADE NOTES recognized as a namespaced name, `Foo \ Bar` will not. Conversely, reserved keywords are now permitted as namespace segments. RFC: https://wiki.php.net/rfc/namespaced_names_as_token + . Nested ternaries now require explicit parentheses. + RFC: https://wiki.php.net/rfc/ternary_associativity - COM: . Removed the ability to import case-insensitive constants from type |