I have a little problem. I need index an php array by array variable.
Example:
$structure = [];
$url = "/one/two/three";
$urlParts = explode("/", $url);
// I need convert $urlParts -> to array index ["one"]["two"]["three"]
// Expected result
$structure["one"]["two"]["three"] = true;
Is it possible in php language?