3v4l.org

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

preferences:
32.51 ms | 402 KiB | 5 Q