Re:What's new in PHP 8?
by tyingq on Friday August 14, 2020 @08:14AM
(#24156857)
This problem isnt really fixed with === per se. Converting strings to numbers is a common need, and the weird type conversation here is broken (and being fixed) for more than just implicit conversions in comparisons.
The PHP team is calling it "saner numeric strings"...seems to indicate they agree.
The PHP team is calling it "saner numeric strings"...seems to indicate they agree.