Python doesn't, and any language that evaluates this as true is crazy. Not even JavaScript does this.
Not even PHP (it took me about 10 minutes to remember how to PHP before I could test it to be sure).
What's the difference between yourself and a Wordpress plugin?
None, doing things in PHP makes you really insecure.
It is — sort of — in both. It happens by programmers who are getting superstitious about what the actual type of a variable they have is, and `str()` it. Then they "know" what they're working with. (Alas, the string "None" or "null".)
Based on the replies you've received, I'd say that actually there is a very small minority list of languages which do this.
The only time I can think of that happening is poorly written SQL queries built out of concatenating strings. And if a system is doing that it has far bigger problems than the last name "Null"
Even at that, in SQL 'null' and null are definitely not the same thing.
Ah yeah, you're right, as even in that situation you'd wrap the name in quotes.
Not C, C++, or D.
This is silly. Not even this is true in many languages null == null