<?php
$arr = array(array('name' => 'email', 'value' => 'teste@teste.com'), array('name' => 'code', 'value' => 'D9CI8C'), array('name' => 'nome', 'value' => 'fulano'), array('name' => 'problema', 'value' => 'algo errado') );
$novo = array_combine(array_column
($arr,'name'), array_column
($arr,'value'));
PD9waHAKCiRhcnIgPSBhcnJheShhcnJheSgnbmFtZScgPT4gJ2VtYWlsJywgJ3ZhbHVlJyA9PiAndGVzdGVAdGVzdGUuY29tJyksCgkJCSBhcnJheSgnbmFtZScgPT4gJ2NvZGUnLCAndmFsdWUnID0+ICdEOUNJOEMnKSwKCQkJIGFycmF5KCduYW1lJyA9PiAnbm9tZScsICd2YWx1ZScgPT4gJ2Z1bGFubycpLAoJCQkgYXJyYXkoJ25hbWUnID0+ICdwcm9ibGVtYScsICd2YWx1ZScgPT4gJ2FsZ28gZXJyYWRvJykKKTsKCiRub3ZvID0gYXJyYXlfY29tYmluZShhcnJheV9jb2x1bW4oJGFyciwnbmFtZScpLCBhcnJheV9jb2x1bW4oJGFyciwndmFsdWUnKSk7CgpwcmludF9yKCRub3ZvKTs=