I guess that's an interesting nitpick, but I was referring to truthiness. I chose what I now see was a confusing way to express it as text.
What I really meant was that you have some $variable, and you test it in an if, while, etc. context. If the value is 0, it's false. But if you didn't realize you got a string from somewhere, it might be true. Unless it's an empty string? (I can't even remember.)
None of this changes the initial point, which is that writing "good" PHP requires enormous amounts of discipline, and that still doesn't address the security issues with PHP itself. I remember when the developer of Suhosin basically quit PHP and said he couldn't deal with the way its maintainers treated security issues.
That's not truthiness, that's implicit coercions.
Truthiness is specific to boolean contexts (if, while, explicit conversion to boolean).