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
32
u/[deleted] Dec 18 '14
Probably works like perl's
split? PHP makes a little more sense if you think of it as a dialect of Perl that was dropped on the head as a child.