3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo intval(3.2). ' '.intval(3.5).' '.intval(3.7).PHP_EOL; echo round(3.2). ' '.round(3.5).' '.round(3.7);
based on A4Rnr
Output for 4.3.10 - 4.4.9, 5.0.2 - 7.2.0
3 3 3 3 4 4
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/fR7e1 on line 3 3 3 3PHP_EOL3 4 4