Bug #699 Updated: explode should not return a 1-element array for an empty string
| From: | Bug Database | Date: | Fri, 04 Sep 1998 12:06:09 +0000 |
| Subject: | Bug #699 Updated: explode should not return a 1-element array for an empty string | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-800@lists.php.net to get a copy of this message | ||
ID: 699
Updated by: jimjag
Reported By: daniele@orlandi.com
Status: Suspended
Bug Type: Misbehaving function
Assigned To:
Comments:
I'm not sure about that. After all, if the seperator isn't
found in the string, logic would indicate that explode should
return the original string. In this case, explode() should
return "" and thus there is a 1 element array as a result.
Full Bug description available at: http://ca.php.net/bugs.php3?id=699
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net