Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:10429 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17960 invoked by uid 1010); 14 Jun 2004 07:09:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 17846 invoked from network); 14 Jun 2004 07:09:29 -0000 Received: from unknown (HELO jdi.jdimedia.nl) (212.204.192.51) by pb1.pair.com with SMTP; 14 Jun 2004 07:09:29 -0000 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.10/8.12.10) with ESMTP id i5E79QH2024892; Mon, 14 Jun 2004 09:09:27 +0200 Date: Mon, 14 Jun 2004 09:09:24 +0200 (CEST) X-X-Sender: derick@localhost To: l0t3k cc: internals@lists.php.net In-Reply-To: <20040613145946.4289.qmail@pb1.pair.com> Message-ID: References: <20040613131206.79593.qmail@pb1.pair.com> <20040613145946.4289.qmail@pb1.pair.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Pack function : a suggestion - allow array as second argument. From: derick@php.net (Derick Rethans) 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