3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function what_do_i_return($i) { switch($i) { case 'k': return 'k'; case 0: return '0'; default: return 'default'; } } print what_do_i_return(0); ?>
Output for 4.3.0 - 7.1.0
k