>
> $array[0] = 'first element';
> $array[99999] = 'second element';
> var_dump($array);
> /*
> array(2) {
> [99999]=>
> string(14) "second element"
> [0]=>
> string(13) "first element"
> }
> */
Just correcting this as it was a copy/paste fail... The above code
would produce:
array(2) {
[0]=>
string(13) "first element"
[99999]=>
string(14) "second element"
}
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
