note 41443 added to function.implode

From: Date: Sat, 10 Apr 2004 03:33:57 +0000
Subject: note 41443 added to function.implode
Groups: php.notes 
Request: Send a blank email to php-notes+get-67943@lists.php.net to get a copy of this message
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 ---- Manual Page -- http://www.php.net/manual/en/function.implode.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+41443 Delete -- http://master.php.net/manage/user-notes.php?action=delete+41443&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+41443&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#67943) next »