3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('Y-m-d\TH:i:sP'); $nextbid = 100; $bidmax = 300; $percent = 15; while($nextbid <= $bidmax ) { $nextbid = (($nextbid*$percent/100)+$nextbid); echo '\n'; print_r($nextbid); } $nextbid = round($nextbid/2, 0)* 2; print_r($nextbid);

preferences:
35.33 ms | 402 KiB | 5 Q