Date: 11/28/00
- Next message: Hojtsy Gabor \( <email protected>\): "Re: [PHP-DOC] phpdoc /en/functions array.xml"
- Previous message: Damien Seguy: "[PHP-DOC] cvs: phpdoc /fr/functions mcal.xml"
- In reply to: Rui Hirokawa: "[PHP-DOC] cvs: phpdoc /en/functions xslt.xml"
- Next in thread: Hojtsy Gabor \( <email protected>\): "Re: [PHP-DOC] phpdoc /en/functions array.xml"
- Reply: Hojtsy Gabor \( <email protected>\): "Re: [PHP-DOC] phpdoc /en/functions array.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
====================================
- Next message: Hojtsy Gabor \( <email protected>\): "Re: [PHP-DOC] phpdoc /en/functions array.xml"
- Previous message: Damien Seguy: "[PHP-DOC] cvs: phpdoc /fr/functions mcal.xml"
- In reply to: Rui Hirokawa: "[PHP-DOC] cvs: phpdoc /en/functions xslt.xml"
- Next in thread: Hojtsy Gabor \( <email protected>\): "Re: [PHP-DOC] phpdoc /en/functions array.xml"
- Reply: Hojtsy Gabor \( <email protected>\): "Re: [PHP-DOC] phpdoc /en/functions array.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

