3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array_test = array(1 => 'asd', 2 => 'dbc', 3 => 'true', 12 => 'end.']; echo sizeof(array_test).'<br>'; // будет 12 echo count(array_test); // будет 4
Output for 5.3.0 - 5.4.17
Parse error: syntax error, unexpected ']', expecting ')' in /in/0fivM on line 2
Process exited with code 255.