Re: removing ereg functions
| From: | Vlad Krupin | Date: | Wed, 16 May 2001 16:48:46 +0000 |
| Subject: | Re: removing ereg functions | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-55506@lists.php.net to get a copy of this message | ||
Next thing you know is that we have --disable-(your favorite function here) for half the functions in php. That's a bad precedent, IMHO.
Vlad
Brian Moon wrote:
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 understand your reaction now Rasmus. Sorry for the confusion. Brian Moon ------------------------------------------ dealnews.com, Inc. Makers of dealnews & dealmac http://dealnews.com/ | http://dealmac.com/ ----- Original Message ----- From: "Zeev Suraski" <zeev@zend.com> To: "Brian Moon" <brianm@dealnews.com> Cc: <php-dev@lists.php.net> Sent: Wednesday, May 16, 2001 3:17 AM Subject: Re: [PHP-DEV] removing ereg functionsAt 08:50 16/5/2001, Brian Moon wrote:happyIs it possible to remove the ereg functions? We have a strict policy to only use preg as they are more reliable and faster. So, I am not tothat PHP is bloated with these ereg functions. Any thoughts?Wow, it's like a plague out there. :) No way. ereg() has got to be used by millions of code lines around the world. I don't see it being removed in this millennium. These functions can fit nicely into the lean-and-mean approach. Zeev