Why does PHP consider 0 to be equal to a string? October 21, 2022 by Magenaut I have the following piece of code: