3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 1; $b = 2.5; $c = 0xFF; var_dump(0xFF); $d = $b + $c; var_dump($d); $e = $d * $b; var_dump($e); $f = ($d + $e) % $a; var_dump($f); print ($f + $e); ?>
based on oo4nT
Output for 4.3.0 - 7.2.0
int(255) float(257.5) float(643.75) int(0) 643.75