Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48333 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55064 invoked from network); 18 May 2010 23:13:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 May 2010 23:13:50 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 74.85.23.205 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 74.85.23.205 mail.sugarcrm.net Windows 2000 SP2+, XP SP1 (seldom 98 4.10.2222) Received: from [74.85.23.205] ([74.85.23.205:47003] helo=mail.sugarcrm.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 67/05-27340-C2F13FB4 for ; Tue, 18 May 2010 19:13:49 -0400 Received: from stasmacbook.cup1.sugarcrm.net (10.8.11.37) by exch-cupertino1.cup1.sugarcrm.net (10.8.1.103) with Microsoft SMTP Server (TLS) id 8.1.393.1; Tue, 18 May 2010 16:13:45 -0700 Message-ID: <4BF31F28.9030201@sugarcrm.com> Date: Tue, 18 May 2010 16:13:44 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [SUGGEST] - passthru From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > i suggest the passthru functionality to pass parameter to other method > without typing all parameters,like call_user_func_array. > > foo(passthru()); = call_user_func_array('foo', func_get_args()); We already have function with this name: http://us.php.net/passthru -- Stanislav Malyshev, Software Architect SugarCrm: http://www.sugarcrm.com/ (408)454-6900 ext. 227