From:             [EMAIL PROTECTED]
Operating system: Linux (Enigma)
PHP version:      4.2.1
PHP Bug Type:     Unknown/Other Function
Bug description:  explode() has bug

$split = explode("|", $DaysOfWeek);
for ($x = 0; $split[$x]; $x++) {
   echo $split[$x]."\n";
}

//if $DaysOfWeek starts with 0 (eg. 0|1|2) then $split
//gets blanked. 1|2|3 or any other combination is fine.
-- 
Edit bug report at http://bugs.php.net/?id=19997&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=19997&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=19997&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=19997&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=19997&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=19997&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=19997&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=19997&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=19997&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=19997&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=19997&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19997&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=19997&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=19997&r=isapi

Reply via email to