[PHP-DOC] phpdoc /en/functions array.xml From: Damien Seguy (damien.seguy <email protected>)
Date: 11/28/00

Hi all,

did anyone notice this behavior with array()?

$p = array(1,1,1,1,1);
print_r($p);
Array
(
    [0] => 1
    [1] => 1
    [2] => 1
    [3] => 1
    [4] => 1
)

$p = array(1,1,8=>1,1,1);
print_r($p);
Array
(
    [0] => 1
    [1] => 1
    [8] => 1
    [9] => 1
    [10] => 1
)

I can't say it's a feature or a bug. May be is it worth
adding in the doc, isn't?

Best regards,
Damien Seguy
====================================
http://www.nexen.net/
l'hebergement dynamique gratuit!
Docs PHP/MySQL en Francais, scripts
====================================