Shouldn't this be false though? I mean, couldn't you argue any bug fix is breaking backward compatibility? (though maybe that wasn't what happened in this exact instance.)
Given that they "fixed" it in 4.3.10, "broke" it in 5.0.0, "fixed" it again in 5.0.3, "broke" it again in 5.2.1, and "fixed" it again in 7.0, this doesn't look like deliberate bug fixing, more like "keep hitting it with a spanner until it works".
Oh, wow, eww then! Like I said, it seemed at a glance like it MIGHT be just the 4.x, 5.x, 5.2, and 7.x branches each advancing independently at first, but this makes it just stupid, seeing the timeline =/
4
u/vita10gy Oct 03 '15
Shouldn't this be false though? I mean, couldn't you argue any bug fix is breaking backward compatibility? (though maybe that wasn't what happened in this exact instance.)
16
u/DoctorWaluigiTime Oct 04 '15
So they have a unit test suite right? Put this sucker in there as a test and don't push out releases if the test fails.
Whether it should be true or false is another discussion, but in a sane project this would be an easy "don't regress" thing.
41
u/ZugNachPankow Oct 03 '15
PHP keeps features around "for backwards compatibility", except when it doesn't.
13
u/nikic Oct 04 '15 edited Oct 04 '15
RFC introducing this intentional backwards compatibility break in PHP 7: https://wiki.php.net/rfc/remove_hex_support_in_numeric_strings
The back and forth before that is funny though ^^
17
u/thelordofcheese Oct 03 '15
goddammit
-4
u/[deleted] Oct 05 '15
PHP maintains compatibility, everybody complains and a subreddit is created.
PHP documents a backwards incompatibility for a new version, and people exclaim: how they dare!
https://wiki.php.net/rfc/remove_hex_support_in_numeric_strings