On 31 Aug 2014, at 20:34, Chris Wright <c...@daverandom.com> wrote: > I have on occasion come across code that uses split(), more often than not > as if it were explode() with a literal delimiter. > > If ereg is to be removed (for which I am +1) does anyone have any > objections to making split() into an alias of explode()? This would also be > consistent with the join() -> implode() alias.
The big disadvantage to that would be, that those people who use more advanced features will have a much harder time to figure out what went wrong. I think this is better left alone. Best regards Rouven -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php