Re: Kill ereg with fire

From: Date: Sun, 31 Aug 2014 18:34:28 +0000
Subject: Re: Kill ereg with fire
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-76995@lists.php.net to get a copy of this message
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. Ps. Sorry for top reply, my phone doesn't seem to want to play nice with an in line response. On 31 Aug 2014 17:29, "Levi Morrison" <levim@php.net> wrote: > On Sun, Aug 31, 2014 at 8:32 AM, Pierre Joye <pierre.php@gmail.com> wrote: > > Heck... No :) > > > > Or we mark it as dead right away, single release for the sake of it and > let > > it die. > > I think a single, unmaintained release of ext/ereg in PECL would be > acceptable, but I don't really see the point of that either. If you > still rely on ereg you probably can't upgrade from an earlier version > of PHP so you'll end up using an old release which already has ereg. > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.internals (#76995) next »