Re: removing ereg functions
| From: | Rasmus Lerdorf | Date: | Wed, 16 May 2001 16:33:48 +0000 |
| Subject: | Re: removing ereg functions | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-55504@lists.php.net to get a copy of this message | ||
> 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