wouldn't it be in at least the best interest to have split and other functions to use 
preg instead of ereg?
this might add some bloat to code, but it might be an interesting default speedup. 

by all means, keep ereg.  unless you can get ereg to act just like preg, you can't get 
rid of it.



On Wed, May 16, 2001 at 09:33:48AM -0700, Rasmus Lerdorf 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 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to