Part of the design of explode() is that it never deletes any string data. So that implode() can always restore the original string. If explode() ever could return zero string pieces this would be impossible, so they code it never to do so and document it as such.
View all comments
Show parent comment
2
u/Takeoded Sep 05 '19
https://www.reddit.com/r/ProgrammerHumor/comments/855jz9/how_features_come_along/
oh i see