3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function loder($shock, $stab, $and) { echo strlen(sqrt($shock); } $i = 0; $shockstab = "Shock Stab"; if(is_infinite($i)) { echo $shockstab; } else { loder($shockstab); }
Output for 5.3.0 - 5.4.17
Parse error: syntax error, unexpected ';' in /in/TWeq0 on line 4
Process exited with code 255.