If I understand this correctly, this is like what Python let's you do with tuples. It's handy for getting vector components, hostnames and port numbers, etc. (I apologise for the Python comparison, it is just the language where I usually encounter this, and it makes heavy use of foreach-style loops and tuples) On Jul 20, 2012 6:20 PM, "Stas Malyshev" <smalys...@sugarcrm.com> wrote:
> 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 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >