split is deprecated since 5.3.0 using explode instead

Just fixing this in this version as well (as in #2).