3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x=array(); for ($i=0;$i++;$i<100) { $x[$i] = array(); for ($j=0;$j++;$j<1000) { $x[$i][$j] = mt_rand(); } } $y = (array) $x; echo sizeof($y);
based on fDVmq
Output for 4.3.0 - 7.1.0
0