3v4l.org

run code in 300+ PHP versions simultaneously
<?php $prodCount = 7; $order_id = 101; for($count=5;$count<=$prodCount;$count=$count+5) { $orders[] = $order_id; } echo "<pre>",print_r($orders);

preferences:
44.68 ms | 402 KiB | 5 Q