note 23193 added to function.implode

From: Date: Thu, 11 Jul 2002 14:39:14 +0000
Subject: note 23193 added to function.implode
Groups: php.notes 
Request: Send a blank email to php-notes+get-32903@lists.php.net to get a copy of this message
Implode with an unset array will made a warning and fail, but is ok with an empty array. So if you don't trust the content of the array, allways initialize it before : $param = array(); [...] echo implode('&', $param); -- http://www.php.net/manual/en/function.implode.php http://master.php.net/manage/user-notes.php?action=edit+23193 http://master.php.net/manage/user-notes.php?action=delete+23193 http://master.php.net/manage/user-notes.php?action=reject+23193

« previous php.notes (#32903) next »