phpdoc /en/functions array.xml
| From: | Damien Seguy | Date: | Tue, 28 Nov 2000 18:59:18 +0000 |
| Subject: | phpdoc /en/functions array.xml | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969333102@lists.php.net to get a copy of this message | ||
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
====================================