Re: zend_call_method() - support for up to 4 parameters
| From: | Antony Dovgal | Date: | Wed, 18 Feb 2009 08:34:51 +0000 |
| Subject: | Re: zend_call_method() - support for up to 4 parameters | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-43087@lists.php.net to get a copy of this message | ||
On 18.02.2009 07:08, Nathan Nobbe wrote:
> hi,
>
> recently, working on an extension, i wanted to call a method w/ 3 params,
> and as you know, zend_call_method only supports 2 parameters at most. i
> came across this thread in the archives,
>
> http://marc.info/?l=php-internals&m=120179690310419&w=2
>
> so i tossed together a quick patch w/ no emalloc or va_list against the
> latest 5.3 snapshot.
>
> what do you think?
What happened to call_user_function() ?
Why break the API and make extension maintainers use even more #if's ?
--
Wbr,
Antony Dovgal