note 8942 deleted from explode by torben
| From: | torben@php.net | Date: | Sat, 07 Oct 2000 09:46:39 +0000 |
| Subject: | note 8942 deleted from explode by torben | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6201@lists.php.net to get a copy of this message | ||
Implode and explode can behave differently.
I can write
$a=implode($array,"|");
and $a would be the expected string separated by |.
But if I write
$array=explode($a,"|");
$array would NOT be the original $array, but an empty value.
And neither implode or explode throws a warning about the bad parameter passing.