Is ist possible to split a string into a multi-level array?
get an array that looks like this:
array(
'admin.config.user' => 'marvin',
'admin.dir.root' => '/var/www/'
);
and i want to get an array that looks like this:
array(
'admin' => array(
'config' => array(
'user' => 'marvin'
),
'dir' => array(
'root' => '/var/www/'
)
)
);
Any ideas how to handle this?