Re: Accept null type hint in C
| From: | Marcus Boerger | Date: | Thu, 27 Oct 2005 18:40:04 +0000 |
| Subject: | Re: Accept null type hint in C | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19767@lists.php.net to get a copy of this message | ||
Hello Rob,
args, shit you're right!
marcus
Thursday, October 27, 2005, 8:35:12 PM, you wrote:
> Marcus Boerger wrote:
>>Hello Bob,
>>
>> that's definitively wrong, actually there must be something wrong with
>>your code. The '|' is to ensure that the parameter is optional. Thus if you
>>moit the param it's return value is untouched which means you have to
>>initaialize the returned zval * to null before passing its address to the
>>parsing functions. The only way "unknown" gets send back is when you
>>use an unhandled spec. But you are using "O" or did you actually missread
>>and took zero? (which would be plain bullshit)
>>
>>marcus
>>
>>Thursday, October 27, 2005, 5:47:36 PM, you wrote:
>>
>>
>>
>>>I tried the "|!O" and that really hoses things.
>>>
>>>
> Isn't it supposed to be |O! ?
> Rob
Best regards,
Marcus