3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function f($i) { return $i; } switch (f(0)) { case 66: $x = 1; break; case 54: $x = 2; break; default: $x = 3; break; }
based on JLRMS
Output for 4.3.0 - 7.2.0