note 41443 deleted from function.implode by tomsommer
| From: | tomsommer@php.net | Date: | Tue, 06 Jul 2004 09:14:42 +0000 |
| Subject: | note 41443 deleted from function.implode by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-72728@lists.php.net to get a copy of this message | ||
Note Submitter: name@phism.org
----
implode does not join array elements in numerical order
for instance:
$array[1] = 'one';<br>
$array[2] = 'two';<br>
$array[0] = 'zro';<br>
echo implode(':', $array);
will return
one:two:zro
maybe it's obvious, but this tripped me up at one point in time