note 46515 deleted from function.implode by tularis
| From: | tularis@php.net | Date: | Wed, 13 Oct 2004 20:44:43 +0000 |
| Subject: | note 46515 deleted from function.implode by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-78516@lists.php.net to get a copy of this message | ||
Note Submitter: sfish at NO_SPAMhej dot nu
----
$a[0] = '0';
$a[2] = '2';
$a[1] = '1';
echo implode($a); // This will print out 021
The conclusion is that it's not the index that decide how implode work but the order of element
declarations. Thought somebody might want to know, even though I still hope this is a bug...
(PHP Version 5.0.2)
----
Reason: useless example