Re: zend_parse_parameters() improvements

From: Date: Fri, 20 Jul 2012 00:58:12 +0000
Subject: Re: zend_parse_parameters() improvements
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi!

> And just to clear, I agree with Sara that ! (both for l/d/b and the  
> pointer types) should not be redefined to "parameter was passed". But it's  
> my understanding that that's not what you're planning.

I didn't have yet a good generic way to handle l/d/b with 'default' - in
many cases for now I prohibited using 'default' in current code in this
context - but if we had some improvement that allows to do it - like
your patch, though not with ! - it would be definitely an improvement.
I'll be done with rest of ZEND_NUM_ARGS() cleanup probably by the end of
next week, and then I could look into integrating your changes, I think
it makes my patch work much better in some cases :)
-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227


Thread (26 messages)

« previous php.internals (#61536) next »