Source Code:
(back to article)
<?php $var1 = null; $var2 = "hello"; echo is_null($var1) . "\n"; // output: 1 (true) echo is_null($var2) . "\n"; // output: (false) ?>
Result:
Report an issue