Php versions – Why does PHP 8 treat 42 == " 42" as true?
PHP 8 has been released. It has made changes to the behaviour of the equality operator. According to the documentation, this is how it behaves now: Non-strict comparisons between numbers and non-numeric strings now work by casting the number to…