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" <le...@php.net> wrote:

> On Sun, Aug 31, 2014 at 8:32 AM, Pierre Joye <pierre....@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
>
>

Reply via email to