Re: http://bugs.php.net/bugs.php?id=5350
| From: | Cynic | Date: | Thu, 21 Dec 2000 14:38:15 +0000 |
| Subject: | Re: http://bugs.php.net/bugs.php?id=5350 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-42045@lists.php.net to get a copy of this message | ||
Well, I needed to call a builtin function (namely
array_diff()) in this case. So call_builtin_func_array()
is what I was looking for.
At 15:23 21.12. 2000, Sterling Hughes wrote the following:
--------------------------------------------------------------
>> Since there's no way I can add a 'mee too' in the bug
>> database, here it is.
>>
>> The shortdesc of the entry is selfexplanatory:
>> call_function("function_name", array args); ala execv()
>>
>> I, too, consider the ability to call a function with an
>> array that becomes a list of args really useful. I've run
>> into a problem recently when this feature would've saved
>> me lots of time/headache...
>>
>
>see the call_user_func_array and call_user_method_array functions...
>
>-sterling
------end of quote------
____________________________________________________________
Cynic:
A member of a group of ancient Greek philosophers who taught
that virtue constitutes happiness and that self control is
the essential part of virtue.
cynic@mail.cz