Re: Kill ereg with fire

From: Date: Sun, 31 Aug 2014 18:42:50 +0000
Subject: Re: Kill ereg with fire
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-76996@lists.php.net to get a copy of this message
On 31 Aug 2014, at 20:34, Chris Wright <cw@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

« previous php.internals (#76996) next »