3v4l.org

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