|
|
|
|
|
by handelaar
636 days ago
|
|
isset($var) will return false if you have deliberately set $var === NULL Otherwise more or less fine? The whole OP here is a longwinded way of observing that several built-in PHP functions don't know anything about types. You can't use switch() as it's usually documented either, for example, because that ignores types too. There are ways around all these things, of course. PHP that doesn't suck is kind of the norm these days. Just stay the hell away from Wordpress |
|