Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c
| From: | Marcus Boerger | Date: | Tue, 01 Nov 2005 21:53:57 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c | ||
| References: | 1 2 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-4316@lists.php.net to get a copy of this message | ||
Hello Andrei,
if the arg_impl return NULL it supposes all is fine and returns SUCCESS to
the function invoking the parameter parsing. If it is non NULL it generates
an error message based on the parameter type it received and the type it
expected. Now if you return "" it expects the arg impl to have issued that
error already.
regards
marcus
Tuesday, November 1, 2005, 10:27:21 PM, you wrote:
> What do you mean by this?
> -Andrei
> On Nov 1, 2005, at 8:53 AM, Marcus Boerger wrote:
>> - Allow parameter parsing implementation raise an error early where
>> more
>> information is available. And add ability to prevent double errors
>> by
>> returning "".
Best regards,
Marcus