Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61576 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81115 invoked from network); 20 Jul 2012 17:20:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jul 2012 17:20:02 -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 67.192.241.133 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.133 smtp133.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.133] ([67.192.241.133:49274] helo=smtp133.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B4/BA-18983-14399005 for ; Fri, 20 Jul 2012 13:20:01 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp23.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id 0EB562381B3; Fri, 20 Jul 2012 13:19:59 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp23.relay.dfw1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id B71DF2381AE; Fri, 20 Jul 2012 13:19:58 -0400 (EDT) Message-ID: <5009933E.4060003@sugarcrm.com> Date: Fri, 20 Jul 2012 10:19:58 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Laruence CC: PHP Internals References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: [RFC] foreach_variable supporting T_LIST From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > since I proposed last year, and seems no argu here. > > so maybe we can just step into the voting phase? I'd like to know how it works with references. I.e., you can do: foreach($foo as &$bar) What about the list, how would you use that? Also, I'm not sure which use case we're solving here - could you give some examples where this would provide significant benefit? -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227