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 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

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

2003-03-07 Thread Eric Lambart
they all say that!). =) I didn't find any patch submission guidlines in a quick web search; I'm afraid you'll have to change the file/pathnames in the first lines. If you don't want to deal with that, point me to the guidelines and I will resubmit the patch. For now I will

Re: [PHP-DEV] repost: return_value getting corrupted in extension

2003-02-14 Thread Eric Lambart
On Thu, 13 Feb 2003 09:02:44 -0800, Eric Lambart wrote: > Second of all, I have narrowed the problem down a bit. It has nothing > to do with parentheses or single-quotes (surprise!). Seriously... I > just observed it mangling another string, but what seemed stranger yet, > it ch

Re: [PHP-DEV] repost: return_value getting corrupted in extension

2003-02-13 Thread Eric Lambart
On Wed, 12 Feb 2003 13:40:09 -0800, Eric Lambart wrote: UPDATE... If you ask me, this is stranger still. If you recall from my original post-- > I am trying to return a "serverId" object member which contains a value > such as "N^VESoDMN(107)". Again, right befo

Re: [PHP-DEV] repost: return_value getting corrupted in extension

2003-02-12 Thread Eric Lambart
Wez Furlong said: >> /* call the constructor */ >> if ( call_user_function(NULL, &object, ctor_fn, ctor_retval, 0, >> NULL) > > Looks correct too. However, I would use call_user_function_ex, which > relieves you of the burden of creating a retval (among other things). The API for call_user_f

Re: [PHP-DEV] repost: return_value getting corrupted in extension

2003-02-12 Thread Eric Lambart
On Tue, 2003-02-11 at 16:00, Wez Furlong wrote: > No offense, but this is really quite a useless problem report. > You are not showing any of the zend API that you use to create the > object, so how can we help you? No offense taken. I hoped that showing the php_var_dump() would be evidence enou

[PHP-DEV] repost: return_value getting corrupted in extension

2003-02-11 Thread Eric Lambart
I originally posted this about 20 hours ago, and it has still not appeared on the newsgroup. I assume something went wrong, and apologize if it appears twice. In my original message, I neglected to mention that I am compiling code this with PHP 4.2.3, though I have had similar problems with an ea