note 48540 deleted from function.implode by nlopess

From: Date: Wed, 29 Dec 2004 11:34:30 +0000
Subject: note 48540 deleted from function.implode by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-82452@lists.php.net to get a copy of this message
Note Submitter: skeets011 at skeets011 dot com ---- If your array has an empty element such as $test= array("test","","test"); echo implode(" or ",$test); will yield test or or test The function does not test at all for empty strings and will always put in the seperator between array elements even if they are empty. ---- Reason: useless example

« previous php.notes (#82452) next »