3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (bool)'test' == 0; var_dump(in_array("test", array( 's', 0), true)); $a =(string)0; switch($a){ case 'test': echo 'mimimi'; break; default: echo 'notmimimi'; }
Output for 4.3.0 - 7.1.0
bool(false) notmimimi