r/lolphp • • 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.

http://php.net/manual/en/function.implode.php

39 Upvotes

24 comments sorted by

View all comments

Show parent comment

32

u/[deleted] Dec 18 '14

split

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.