Re: [PHP-DEV] Kill ereg with fire
[email protected] (Rouven Weßling)
| Newsgroups | php.internals |
|---|---|
| Message-ID | <[email protected]> |
On 31 Aug 2014, at 20:34, Chris Wright <[email protected]> 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