RE: [PHP-DEV] Array decomposition, more than list()

2012-05-13 Thread Clint Priest
would be really incredible for PHP as well. I see on that document it does not talk about a complex destructuring such as I've described above. My email here was to find if this would garner any interest from the PHP community. > -Original Message- > From: Ivan Enderl

Re: [PHP-DEV] Array decomposition, more than list()

2012-05-13 Thread Ivan Enderlin @ Hoa
Hi Clint, On 13/05/12 18:41, Clint Priest wrote: I've been using array decomposition in other languages such as Javascript recently and find it very useful. I did not find any conversation about it in the archives, has this topic been discussed/vetted/shot down already? Example use case: Ind

[PHP-DEV] Array decomposition, more than list()

2012-05-13 Thread Clint Priest
I've been using array decomposition in other languages such as Javascript recently and find it very useful. I did not find any conversation about it in the archives, has this topic been discussed/vetted/shot down already? Example use case: Indexed database results being iterated: Input: $tValu