note 23193 deleted from function.implode by levim

From: Date: Tue, 18 Mar 2014 02:51:56 +0000
Subject: note 23193 deleted from function.implode by levim
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-198937@lists.php.net to get a copy of this message
Note Submitter: Cedric at isoca dot com ---- 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);

« previous php.notes (#198937) next »