In PHP you can you
$var = 'title';
$$var = 'my new title';
and it works fine. But when you try to use it with array, it doesnt work and no errors are reported.
$var = 'title';
$$var['en'] = 'my english title';
$var = 'description';
$$var['en'] = 'my english description';
Thanks for the help
[EDIT] If I do
$$var = array();
array_push($$var,'test');
it works and it outputs
title[0] = 'test';
But I really need named index : /