PHP-SugarNewsWikiDocsBugsForumFilesSource LoginRegister
HomeBugsBug #0010
split() function requires count
Bug #0010
Reported by Sean Middleditch
Feb 15th, 2008 at 3:29am EST
The new split() function requires a count parameter, or else it fails. The code assumes that a null value for count to explode() will be considered the same as not passing the parameter at all, but this is not the case.

Comment from Sean Middleditch
Feb 15th, 2008 at 3:30am
Fixed in SVN. Also added a test case.

Additional Comments:
or Login