Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33341 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43199 invoked by uid 1010); 19 Nov 2007 23:06:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 43155 invoked from network); 19 Nov 2007 23:06:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Nov 2007 23:06:22 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:45574] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4A/EF-50425-4D612474 for ; Mon, 19 Nov 2007 18:06:03 -0500 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 20 Nov 2007 01:05:51 +0200 Received: from [192.168.16.91] ([192.168.16.91]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 Nov 2007 15:04:06 -0800 Message-ID: <47421666.7070506@zend.com> Date: Mon, 19 Nov 2007 15:04:06 -0800 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Karoly Negyesi CC: internals@lists.php.net References: <7e270cea0711182232h4c3d87b1he688be5e9e3f4ce1@mail.gmail.com> In-Reply-To: <7e270cea0711182232h4c3d87b1he688be5e9e3f4ce1@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Nov 2007 23:04:06.0048 (UTC) FILETIME=[7C00CA00:01C82B00] Subject: Re: [PHP-DEV] Allow func_get_arg(s) to pass by reference From: stas@zend.com (Stanislav Malyshev) > I have failed the "state the goal and not the task" rule, sorry. > > So, my goal is to pass a variable number of arguments of which some > could be references. I believed that this needs calltime by-ref calls > but obviously need. For func_get_arg, a simple flag could suffice. For > func_gets_args, I do not really know -- maybe a param to take all by > ref, similar to EXTR_REFS. I think it would make sense to submit is as feature request to bugs.php.net, including the code examples you had in the blog. This would allow better tracking. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com