explode() is used to split any string by another string. This means if any string is same that will be missed from the main string and main string will be divided in that point.
On the other hand the str_split() is used to split the whole string without missing anything.
explode() function should contain two parameters.
str_split() can work with only a single parameters.
explode() splits the string in the matching part of the first parameter and delete the matched part,
But str_split() do not delete anything, just separates the characters.
str_split() splits the string according to given length. If the length is not given it splits one by one.
The second parameter of str_split() must be a long or integer number.
str_split() is used to split but explode() is used to divide into two based on the matching parts. Again str_split() operates based on the second parameter while explode() operates based on first parameter.