3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = (intval(round(0 + 1162.5 + 1162.5)) - intval(round(0 + 1162.5 + 1162.5)) + intval(round(0 + 1033.3333333333 + 1033.3333333333 + 1033.3333333333)) - intval(round(0 + 3100))); $b = (intval(round(0 + 182.25 + 182.25 + 182.25 + 182.25)) + intval(round(0 + 814.2 + 814.2 + 814.2 + 814.2 + 814.2))); $c = intval(round(0 + 243 + 243 + 243)); var_dump($a); var_dump($b); var_dump($c);
Output for 4.3.0 - 7.1.0
int(0) int(4800) int(729)