3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function multipliedByReverseOrder($n) { for ($i = 1000; $i <= $n; $i++) { $initial_count = 1000; $j = 4; if (2 * $j - 13 * $i == 1) { $initial_count++; $result=2*$j-13*$i; if($result==2*$j-13*$i){ return; } $initial_count=$result; } echo $i . "The Result is:"; } } multipliedByReverseOrder(9999);