3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo "'' == null ? ", ('' == null) ? 'yes' : 'no', "\n"; echo "'0' == null ? ", ('0' == null) ? 'yes' : 'no', "\n"; echo "false == null ? ", (false == null) ? 'yes' : 'no', "\n"; echo "null == null ? ", (null == null) ? 'yes' : 'no', "\n";
Output for 4.3.0 - 7.1.0
'' == null ? yes '0' == null ? no false == null ? yes null == null ? yes