Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_reflection_api.c
| From: | Andi Gutmans | Date: | Thu, 29 Jul 2004 21:28:31 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_reflection_api.c | ||
| References: | 1 2 3 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-2825@lists.php.net to get a copy of this message | ||
Ah OK. I didn't look at the whole patch but I thought you might have missed the fact that it was a number and not a flag.
At 07:12 PM 7/29/2004 +0200, Marcus Boerger wrote:
Hello Andi, well it is correct. I store the number of required arguments and later compare with the offset of the parameter being looked at. regards marcus Thursday, July 29, 2004, 5:36:08 PM, you wrote: I think this might be wrong. required_num_args means how many of the arguments are required (and not with default values). So you have to do an if() here to check if the parameter is in range or are you doing something else here? At 07:06 AM 7/25/2004 +0000, Marcus Boerger wrote:+ ref->required = fptr->common.required_num_args;