note 71675 deleted from function.implode by bobby

From: Date: Mon, 11 Dec 2006 17:19:27 +0000
Subject: note 71675 deleted from function.implode by bobby
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-120504@lists.php.net to get a copy of this message
Note Submitter: me at my dot com ---- The implode() function does not work as advertised/expected when used on the $_COOKIE array. You'd expect this: code: echo implode("&", $_COOKIE); prints: name1=value1&name2=value2&... But instead, the result is this: code: echo implode("&", $_COOKIE); prints: value1&value2&... In other words, it's completely useless, since a bunch of cookie values are meaningless without their names.

« previous php.notes (#120504) next »