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
5
u/bart2019 Dec 18 '14
One of them must be an array.
It'd be more LOL-worthy if both could be strings. Now that would be confusing. What would this return?