No problem. PHP arrays aren't really arrays, they are hash maps.
```php
$array = array();
$array[5] = "Element #5";
$array[2] = "Element #2";
// This outputs: 5 => Element #5, 2 => Element #2
foreach ( $array as $key => $value ) {
	printf( "%s => %s\n", $key, $value );
}
// This will fail horribly because it's no continuous array
for ( $i = 0; $i < count ( $array ); $i++ ) {
	printf( "%d => %s\n", $i, $array[$i] );
}
```