3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $i = 4; $j = 1; $a = floor($i / 3) * 3 + floor($j / 3); $b = ($i % 3) * 3 + ($j % 3); echo $a." ".$b;
Output for 4.3.0 - 7.2.0
3 4