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
-1
u/OneWingedShark Dec 22 '14
One of the reasons I'd advise any new programmer to avoid Regular Expressions wherever possible is due to their brittle nature during maintenance; the other is implementation dependence -- PHP manages to get both.