Re: removing ereg functions
| From: | Brian Moon | Date: | Wed, 16 May 2001 16:38:00 +0000 |
| Subject: | Re: removing ereg functions | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-55505@lists.php.net to get a copy of this message | ||
I guess it just seems a little odd too me that PCRE is optional and POSIX is
not. I know the history and all.
Brian Moon
------------------------------------------
dealnews.com, Inc.
Makers of dealnews & dealmac
http://dealnews.com/ | http://dealmac.com/
----- Original Message -----
From: "Rasmus Lerdorf" <rasmus@php.net>
To: "Brian Moon" <brianm@dealnews.com>
Cc: <php-dev@lists.php.net>
Sent: Wednesday, May 16, 2001 11:33 AM
Subject: Re: [PHP-DEV] removing ereg functions
> > No, sorry, I think you misunderstood my question. I would just like to
see
> > a --disable-ereg option for configure. I would never dream of removing
ereg
> > from PHP as a supported function set. It would break Phorum and lots of
> > stuff I have written.
>
> I just don't see the point in this. There are other functions like
> split() that rely on the ereg code, and since removing the code isn't
> actually going to save you anything as the library is non-optional in
> Apache, removing the hooks from PHP makes no sense. I don't think
> disabling functions in PHP is a good way to enforce coding conventions.
>
> -Rasmus
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>