3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $_POST['solution'] = 333333; $solution=(($_POST['solution']*1337)+1.7); echo $solution.'\n'; $solution=!preg_match('/[^0-9]/',''.$solution)?(int)round($solution)-33:1337; echo $solution.' '.gettype($solution); if($solution=='float'){ echo 'WE rock'; } ?>
based on M5l2X
Output for 4.3.0 - 7.2.0
445666222.7\n1337 integer