Re: [PHP-DEV] bug in zend_API.c (with patch)

2003-03-07 Thread Wez Furlong
On Sat, 7 Mar 2003, Eric Lambart wrote: > > Adding strtolower calls will only slow down the whole language. > but my > point is the overhead involved cannot possibly rival the amount already > created by the zend_str_tolower() calls within zend_execute.c, which is > surely encountered far more o

Re: [PHP-DEV] bug in zend_API.c (with patch)

2003-03-07 Thread Eric Lambart
On Fri, 2003-03-07 at 15:30, Wez Furlong wrote: > It's not a bug; PHP is a case-IN-sensitive language when it comes to > function and class names. I understand that, and if my message implied anything differently, I apologize. That is precisely the problem I am addressing; when storing the functi

Re: [PHP-DEV] bug in zend_API.c (with patch)

2003-03-07 Thread Wez Furlong
It's not a bug; PHP is a case-IN-sensitive language when it comes to function and class names. Adding strtolower calls will only slow down the whole language. Using lowercase function and class names is the best solution. --Wez. On Fri, 7 Mar 2003, Eric Lambart wrote: > On Fri, 2003-03-07 at 1

Re: [PHP-DEV] bug in zend_API.c (with patch)

2003-03-07 Thread Eric Lambart
On Fri, 2003-03-07 at 14:24, Brad LaFountain wrote: > Why can't you just simply name your classes all lowercase. Because then I wouldn't have discovered the bug! =) > All of the extensions currently do this and it works fine. Apparently that is the case--that's probably why I had the pleasure of

Re: [PHP-DEV] bug in zend_API.c (with patch)

2003-03-07 Thread Brad LaFountain
Why can't you just simply name your classes all lowercase. All of the extensions currently do this and it works fine. - Brad --- Eric Lambart <[EMAIL PROTECTED]> wrote: > Hello. > > After a short bout of hair-pulling, I have discovered the source (in the > Zend engine) of a recent problem, and h

[PHP-DEV] bug in zend_API.c (with patch)

2003-03-07 Thread Eric Lambart
Hello. After a short bout of hair-pulling, I have discovered the source (in the Zend engine) of a recent problem, and have fixed it. BACKGROUND: As I have mentioned previously on this list, I am developing a complex PHP extension, which among many other things creates its own PHP classes, and whe