We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee16316 commit e81ad40Copy full SHA for e81ad40
UPGRADING
@@ -206,7 +206,9 @@ PHP 8.0 UPGRADE NOTES
206
RFC: https://wiki.php.net/rfc/string_to_number_comparison
207
. Namespaced names can no longer contain whitespace: While `Foo\Bar` will be
208
recognized as a namespaced name, `Foo \ Bar` will not. Conversely, reserved
209
- keywords are now permitted as namespace segments.
+ keywords are now permitted as namespace segments, which may also change the
210
+ interpretation of code: `new\x` is now the same as `constant('new\x')`, not
211
+ `new \x()`.
212
RFC: https://wiki.php.net/rfc/namespaced_names_as_token
213
. Nested ternaries now require explicit parentheses.
214
RFC: https://wiki.php.net/rfc/ternary_associativity
0 commit comments