It's not saying that PHP is a crappy language. It's saying that PHP's casting behavior leads to some odd inconsistencies that are simply not what you expect.
More information about formatting options
I think you misunderstand...
It's not saying that PHP is a crappy language. It's saying that PHP's casting behavior leads to some odd inconsistencies that are simply not what you expect.