File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -375,6 +375,28 @@ Other language changes
375
375
Note that this only applies to calls from an incompatible context. If class B
376
376
extended from A the call would be allowed without any notices.
377
377
378
+ * It is no longer possible to use the following class, interface and trait names
379
+ (case-insensitive):
380
+
381
+ bool
382
+ int
383
+ float
384
+ string
385
+ null
386
+ false
387
+ true
388
+
389
+ This applies to class/interface/trait declarations, class_alias() and use
390
+ statements.
391
+
392
+ Furthermore the following class, interface and trait names are now reserved
393
+ for future use, but do not yet throw an error when used:
394
+
395
+ resource
396
+ object
397
+ mixed
398
+ numeric
399
+
378
400
* The yield language construct no longer requires parentheses when used in an
379
401
expression context. It is now a right-associative operator with precedence
380
402
between the "print" and "=>" operators. This can result in different behavior
You can’t perform that action at this time.
0 commit comments