3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = null; echo 'Test with == '; if ($foo == null) { echo 'foo is null'; } else { echo 'foo is not null'; } echo "\r\nTest with ==="; if ($foo === null) { echo 'foo is null'; } else { echo 'foo is not null'; }
based on sKMGQ
Output for 4.3.0 - 7.2.0
Test with == foo is null Test with ===foo is null