© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Emil Moe
Senior Data Engineer
I find this the most easy to read.
$c = ! null;
Sergio
Web Developer & curious mind
oh, that a nice solution too, saying that $c is different from null, are saying that is empty :)
It's technically the same as $c = true; I just find this to be more readable. It's easier to understand that 'Hello' and 'World' are not null than that they are true, which is also grammatically nonsense to say.
$c = true;