[PHP-DEV] Bug #699: explode should not return a 1-element array for an empty string From: daniele <email protected>
Date: 08/27/98

From: daniele <email protected>
Operating system: RedHat Linux 5.1
PHP version: 3.0.3
PHP Bug Type: Misbehaving function
Bug description:
$a=explode("",":");
echo count($a);

Prints 1

IMHO, an empty string should explode to a 0-elements array.

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>