3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = "plop" ; switch($foo){ case 0: echo "zero"; break; default: echo " def"; } var_dump($foo == 0);
based on d80sr
Output for 5.5.0 - 7.3.0rc3
zerobool(true)