Re: Revisit: zend_call_method() - n number of arguments

From: Date: Sun, 23 Oct 2011 06:50:58 +0000
Subject: Re: Revisit: zend_call_method() - n number of arguments
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-55907@lists.php.net to get a copy of this message
Hi! On 10/22/11 2:36 AM, Nathan Nobbe wrote:
Hi, Another old issue I'd like to rehash with the upcoming release around the corner [1]. I patched 5.4 alpha2 for review [2].
I think better idea would be to add another API function (zend_call_method_ex?), that implements arbitrary argument count (either via array or via varargs) and make zend_call_method be a case of it, maybe. This way you don't have to break existing API and also don't have to stop at 4. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227

« previous php.internals (#55907) next »