-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed as not planned
Labels
Description
Description
One thing that I find hard to memorise is which one actually splits a string and which one actually joins an array, between implode and explode.
So, when I need to join, I always use the alias join, but I still need to look up in the documentation which one actually splits.
I've been programming mostly in Python, so that's why I highly prefer join and I'd also prefer that split was introduced as an alias for explode (again I had to check that this was the actual function).
Would there be any future function that we might want to call split and that does something different than explode? In any case, it will most likely not be as useful as explode, so we can probably sacrifice the future in this case.
kiranugur and mvorisek