3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $count = 100000; $total = array(); for ($i=0; $i<$count; $i++) { $total[] = $i; } $total2=0; for ($i=0; $i<count; $i++) { $total2 += $total[$i] } var_dump($total2);
Output for 5.3.0 - 5.4.24
Parse error: syntax error, unexpected '}' in /in/BtJJA on line 12
Process exited with code 255.