From:             [EMAIL PROTECTED]
Operating system: Win32
PHP version:      4.2.1
PHP Bug Type:     Scripting Engine problem
Bug description:  explode misbehaves exploding empty strings

This was reported before (bug #8883) as 

count(explode("|", "")) == 1

but was stated bogus for some unexplained reason.

The problem is: exploding an empty string returns an array with one empty
element, but should return an empty array instead. 

I found this bug to be closed for PHP 3.0.3 (bug #699) with no comment,
but it seems it isn't fixed really?

-- 
Edit bug report at http://bugs.php.net/?id=22226&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22226&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22226&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22226&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22226&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22226&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22226&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22226&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22226&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22226&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22226&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22226&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22226&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22226&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22226&r=gnused

Reply via email to