Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread Stig Sæther Bakken
I have to say that I'm more in favor of removing --without-pcre-regex than adding --disable-ereg, especially now that Apache is starting to bundle PCRE. And I don't think the "bloat" argument holds water, it sounds to me like more of a warm-fuzzy-feeling issue than a real performance/maintainabil

Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread Stig Sæther Bakken
["Brian Moon" <[EMAIL PROTECTED]>] > 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

RE: [PHP-DEV] removing ereg functions

2001-05-16 Thread Richard Heyes
> No, sorry, I think you misunderstood my question. I would just > like to see > a --disable-ereg option for configure. Wouldn't the disable_functions ini directive be of use here? -- Richard Heyes -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTE

Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread Cynic
yes, PCRE is part of Apache-2.0 On Wed, 16 May 2001 -0400, [EMAIL PROTECTED] wrote: > Rasmus Lerdorf wrote: > > >>But, that all makes sense and tells me that it is not worth pursuing. > >> > >>Is the regex lib bundled with apache always as part of the core or just > >>included with certain modu

Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread Sterling Hughes
Rasmus Lerdorf wrote: >>But, that all makes sense and tells me that it is not worth pursuing. >> >>Is the regex lib bundled with apache always as part of the core or just >>included with certain modules? >> > > It is part of the core. > As Apache 2.0, I believe PCRE is also a part of the Apac

Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread Rasmus Lerdorf
> But, that all makes sense and tells me that it is not worth pursuing. > > Is the regex lib bundled with apache always as part of the core or just > included with certain modules? It is part of the core. -Rasmus -- PHP Development Mailing List To unsubscribe, e-mail: [E

Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread Brian Moon
.com/ | http://dealmac.com/ - Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: "Brian Moon" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, May 16, 2001 11:33 AM Subject: Re: [PHP-DEV] removing ereg functions > >

Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread Rasmus Lerdorf
> 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. No, because POSIX and Perl-style regular expressions are not compatible. That's why we have a preg_s

Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread spencer 'sporty' portee
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

Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread Vlad Krupin
news.com, Inc. > Makers of dealnews & dealmac > http://dealnews.com/ | http://dealmac.com/ > > - Original Message - > From: "Zeev Suraski" <[EMAIL PROTECTED]> > To: "Brian Moon" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sen

Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread Brian Moon
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: "Brian Moon" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> 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

Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread Rasmus Lerdorf
> 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. Ther

Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread Brian Moon
o: <[EMAIL PROTECTED]> Sent: Wednesday, May 16, 2001 10:51 AM Subject: Re: [PHP-DEV] removing ereg functions > In my mind the problem that Brian raised is that ereg is slow. > The solution is not to ban eregi but to fix it by performance tuning > the C code. > > Just my

Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread John Lim
In my mind the problem that Brian raised is that ereg is slow. The solution is not to ban eregi but to fix it by performance tuning the C code. Just my 2c worth. John Lim Rasmus Lerdorf <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > That is why I am asking

Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread Zeev Suraski
m/ > >- Original Message - >From: "Zeev Suraski" <[EMAIL PROTECTED]> >To: "Brian Moon" <[EMAIL PROTECTED]> >Cc: <[EMAIL PROTECTED]> >Sent: Wednesday, May 16, 2001 3:17 AM >Subject: Re: [PHP-DEV] removing ereg functions > > >

Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread Brian Moon
ED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, May 16, 2001 3:17 AM Subject: Re: [PHP-DEV] removing ereg functions > At 08:50 16/5/2001, Brian Moon wrote: > >Is it possible to remove the ereg functions? We have a strict policy to > >only use preg as they are more reliable

Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread Zeev Suraski
At 08:50 16/5/2001, Brian Moon wrote: >Is 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 to happy >that PHP is bloated with these ereg functions. > >Any thoughts? Wow, it's like a plague out there. :) No wa

Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread Rasmus Lerdorf
> That is why I am asking. Is there a core reason that the ereg functions > have to be there? I could extend this to other functions as well of course. > But this set in particular I have wondered about. 1) There was no PCRE library when I first added regex support to PHP. Henry Spencer's re

Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread Peter Petermann
hm... > That is why I am asking. Is there a core reason that the ereg functions > have to be there? I could extend this to other functions as well of course. > But this set in particular I have wondered about. maybe because some people are using them? ... Peter Petermann -- PHP Development

Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread Brian Moon
, Inc. Makers of dealnews, dealmac http://dealnews.com/ | http://dealmac.com/ - Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: "Brian Moon" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, May 16, 2001 2:19 AM Subject:

Re: [PHP-DEV] removing ereg functions

2001-05-15 Thread Rasmus Lerdorf
> Is 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 to happy > that PHP is bloated with these ereg functions. > > Any thoughts? Uh, are you out of your mind? -Rasmus -- PHP Development Mailing List