2, 'a' => 1); foreach ($a as $name => $item) print '['.$name.'=>'.$item.']';