The explode function didn't return empty elements (which split did)
I shouldn't fix extlibs, but here goes anyway. I will see if there's an upstream library we can track which has fixed this themselves.