3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $prodCount = 6; $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.2.0
<pre>Array ( [0] => 101 ) 1