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