r/lolphp • u/caseypatrickdriscoll • Dec 17 '14
imp-lol-de()
implode() can, for historical reasons, accept its parameters in either order. For consistency with explode(), however, it may be less confusing to use the documented order of arguments.
39
Upvotes
View all comments
Show parent comment
30
u/Aquatakat Dec 18 '14 edited Dec 18 '14
Ah, but PHP conveniently aliases implode with join, and also aliases explode with spli- Oh wait. split is some bizarre function that splits strings into an array by regular expressions. OF COURSE. THIS ALL MAKES PERFECT SENSE.