> I suggest an RC2 (today?) and a release by the end of the week, or Monday > at the latest. > James - how sure are you that the fix you submitted is good and that we > won't find out afterwards that the bogus behavior was actually the right > thing to do? :)
Well I know the old behaviour was wrong, it was return the token at times, but the ANSI C standard is vague about how strtok should behave when there are more than one token's together. $string = "James|Zeev||Andrei"; $str[0] = strtok($string, "|"); $str[1] = strtok("|"); $str[2] = strtok("|"); $str[3] = strtok("|"); Old behaviour: $str = array( string "James" string "Zeev" string "|Andrei" false ) I changed it to return $str = array( string "James" string "Zeev" string "Andrei" false ) But should it return: $str = array( string => "James" string => "Zeev" string => "" string => "Andrei" ) - James -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]