Re: Re: [RFC] foreach_variable supporting T_LIST

From: Date: Fri, 20 Jul 2012 17:19:58 +0000
Subject: Re: Re: [RFC] foreach_variable supporting T_LIST
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-61576@lists.php.net to get a copy of this message
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

« previous php.internals (#61576) next »