Ask a Question
Advertise on boostr.in
Organizational Research By
Surprising Reserch Topic
how to recursively create a multidimensional array using -'php,recursion,multidimensional-array'
how to recursively create a multidimensional array ¬†using -'php,recursion,multidimensional-array'
I am trying to create a multi-dimensional array whose parts are determined by a string. I'm using . as the delimiter, and each part (except for the last) should be an array
config.debug.router.strictMode = true
I want the same results as if I were to type:
$arr = array('config' => array('debug' => array('router' => array('strictMode' => true))));
This problem's really got me going in circles, any help is appreciated. Thanks!
Sep 8, 2015
to add a comment.
Related Hot Questions
Government Jobs Opening