summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-07-24 10:35:03 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-07-24 10:35:42 +0200
commit0a5b7c81b705869618755ed2d559702be6f9d6e4 (patch)
treed0e8331c5e31c8695c96b4017332a6ef8e24d2ef /UPGRADING
parent9bf119832dbf625174794834c71b1e793450d87f (diff)
downloadphp-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--UPGRADING2
1 files changed, 2 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index 85931d11cf..bf4584bb8e 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -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