3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $isRunning = null; if ($isRunning != true) { echo "\nnull"; } $isRunning = false; if ($isRunning != true) { echo "\nfalse"; } $isRunning = true; if ($isRunning != true) { echo "\ntrue"; } $isRunning = ''; if ($isRunning != true) { echo "\nnothing"; }
Output for 4.3.0 - 7.1.0
null false nothing