PHP list and array....

One day, I wish I can write this in PHP

while( $filename = $files->next() )
{
   [ $a, $b, $c, $d ] = getimageinfo($filename);
   $sizes[] = [ $filename, $a, $b ];
}

It would be nice if [ ] was an array constructor. It would also be nice if [ ... ] on the left side of = would behave like list(...).

.