Re:What's new in PHP 8?
by john-shaffer on Friday August 14, 2020 @11:12AM
(#24158939)
You're talking about hypothetical code, but I am talking about actual code that worked fine but no longer works after an upgrade. Perhaps it was poorly written, but it was not buggy.
I can't think of a single time that I've seen a bug exposed by language changes. I have seen dozens of bugs created by language changes, however. (Mostly crashes).
If you're depending on very weird edge cases in PHP I'd consider that buggy even if it works.
Re:What's new in PHP 8?
by john-shaffer on Friday August 14, 2020 @02:13PM
(#24161290)
This is a completely useless discussion if you're going to assume that code depends on "very weird edge cases" with no idea of what the code actually does.
These changes reflect how people use the language or what they already believe it to do.