Bug #1629 Updated: for x undefined values in an array, implode concatenates the last x + 1 items
| From: | Bug Database | Date: | Wed, 30 Jun 1999 13:01:46 +0000 |
| Subject: | Bug #1629 Updated: for x undefined values in an array, implode concatenates the last x + 1 items | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-7871@lists.php.net to get a copy of this message | ||
ID: 1629
User Update by: codemaster@randombytes.com
Status: Analyzed
Bug Type: Misbehaving function
Description: for x undefined values in an array, implode concatenates the last x + 1 items
More detail: If there is one undefined value in an array passed to implode(),
the last two items in the array are concatenated without the delimiter. If there
are two undef's, the last three are concatenated. If there are three, the last
four, etc.
After a little more research, this problem seems to apply to the PHP 3.0.7
installation I was using. I compiled the RedHat 6.0 SRPM and installed it.
RedHat has a PHP 3.0.9 RPM on their update site ftp://ftp.redhat.com.
See http://www.redhat.com/mirrors.html for a list
of mirrors. This newer
version doesn't have this problem.
Full Bug description available at: http://bugs.php.net/?id=1629