... PHP 7.1 introduces visibility modifiers to constants ...
... With PHP 7.1 it is now possible to specify that a function has a void return type, i.e. it performs an action but does not return anything ...
... Example four contains numeric values, so everything else is stripped out, and the sum of those are used to calculate the total of 10. But it would still be nice to see a warning, as this may not be intended behaviour ...
Good to see PHP continues to introduce new inconsistencies while striving to break existing code by fixing old ones. Best of both worlds!
edit: OK this was uncharitable and technically some of them are not inconsistencies, just things I thought were weird. I know PHP is widely used and considered useful and will stay with us forever. But I found those snippets interesting.