Re: Pack function : a suggestion - allow array as second argument.
| From: | Derick Rethans | Date: | Mon, 14 Jun 2004 07:09:24 +0000 |
| Subject: | Re: Pack function : a suggestion - allow array as second argument. | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-10429@lists.php.net to get a copy of this message | ||
On Sun, 13 Jun 2004, l0t3k wrote:
> thanks, i hadn't noticed that. still in the interest of efficiency i think
> an array should be allowed. or am i the only one having to use Pack on large
> sets of data ?
The problem with if we're going that way, this same argument might hold
for all other PHP functions; I think it's not a good idea to start
implementing this functionality in PHP functions in general while a
perfectly working method with call_user_func_array works too. The
performance impact is most likely to be very small too.
Derick