The question is "can an array index get value from other array index in the same array?" Such as when you have an array variable like this:
$conf = [
"app" => [
"name" => "myApplicationName",
"key" => md5($conf['app']['name']) // I mean to call itsself
// I tried using $this but return into error
]
]
When I write $conf['app']['name']
it returns the error:
Undefined variable: conf in..
So can I call or get value to an array index from other array index in the same array?