PHP 4.0 Bug #7076: Incosistence between explode and implode
| From: | v at w dot cl | Date: | Sat, 07 Oct 2000 07:47:28 +0000 |
| Subject: | PHP 4.0 Bug #7076: Incosistence between explode and implode | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-34428@lists.php.net to get a copy of this message | ||
From: v@w.cl
Operating system: RedHat 6.2
PHP version: 4.0.3RC2
PHP Bug Type: *Function Specific
Bug description: Incosistence between explode and implode
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.
--
Edit Bug report at: http://bugs.php.net/?id=7076&edit=1