3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $prodCount = 7; $order_id = 101; for($count=5;$count<=$prodCount;$count=$count+5) { $orders[] = $order_id; } echo "<pre>",print_r($orders);
Output for 4.3.0 - 7.1.0
<pre>Array ( [0] => 101 ) 1