#
2782af2f |
| 08-Dec-2022 |
Christoph M. Becker |
Fix trait constant example As has been pointed out by Robert Landers[1], the PHP 8.2 example does not error. And even the pre PHP 8.2 example does not error where indicated. It doe
Fix trait constant example As has been pointed out by Robert Landers[1], the PHP 8.2 example does not error. And even the pre PHP 8.2 example does not error where indicated. It does not appear to be useful to show the pre PHP 8.2 behavior (where it was not allowed to declare constants in traits); so instead we show only a PHP 8.2 example which matches the description. [1] <https://externals.io/message/119096#119100> Closes GH-732.
show more ...
|
#
b1cf7f8f |
| 08-Dec-2022 |
Christoph M. Becker |
Simplify DNF example As has been pointed out by Thomas Gutbier[1], the PHP 8.2 code doesn't need the special handling for `null`, so we remove it, and accordingly merge the special c
Simplify DNF example As has been pointed out by Thomas Gutbier[1], the PHP 8.2 code doesn't need the special handling for `null`, so we remove it, and accordingly merge the special case handling in the pre PHP 8.2 snippet as well. [1] <https://externals.io/message/119096#119097> Closes GH-731.
show more ...
|