Re: Reflection API r1.136
| From: | Sebastian Bergmann | Date: | Tue, 02 Nov 2004 12:52:14 +0000 |
| Subject: | Re: Reflection API r1.136 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-13681@lists.php.net to get a copy of this message | ||
Timm Friebe wrote:
> Why was this added?
I asked Marcus to add these.
> These:
>
> 1) call_user_func_array(
> array(new ReflectionMethod('class', 'method'), 'invoke',
> array(1, 2, 3)
> )
>
> 2) call_user_func(
> array(new ReflectionMethod('class', 'method'), 'invoke',
> 1, 2, 3
> )
>
> work just fine.
They work, but not seamless.
--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69