3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $_POST['solution'] = '6898557993159892.0'; $solution=(($_POST['solution']*1337)+1.7); echo $solution."\n"; $solution=!preg_match('/[^0-9]/',''.$solution)?(int)round($solution)-33:1337; echo $solution." \n".gettype($solution).' '.(int)round($solution)-33; if($solution=='float'){ echo 'WE rock'; }else{ echo "\nwe dont rock"; } ?>
based on MVagU
Output for 7.1.0 - 7.3.1
9.2233720368548E+18 Notice: A non well formed numeric value encountered in /in/ele5r on line 10 1304 we dont rock
Output for 4.3.0 - 7.0.20
9.2233720368548E+18 1304 we dont rock