Re: [RFC] Argument unpacking
| From: | Lazare Inepologlou | Date: | Fri, 30 Aug 2013 17:55:03 +0000 |
| Subject: | Re: [RFC] Argument unpacking | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-68750@lists.php.net to get a copy of this message | ||
2013/8/30 Stas Malyshev <smalyshev@sugarcrm.com>
> Hi!
>
> > A good example would be function forwarding for variadic functions,
> > without resorting to call_user_func_array.
>
> What's wrong with "resorting to" call_user_func_array?
> call_user_func_array is a PHP function and not some dark magic that one
> should avoid using unless it is absolutely must.
>
>
The disadvantages of call_user_func_array are very well described in the
RFC.
Lazare INEPOLOGLOU
Ingénieur Logiciel
> --
> Stanislav Malyshev, Software Architect
> SugarCRM: http://www.sugarcrm.com/
> (408)454-6900 ext. 227
>