This is the sample array
Array
(
[note] => Array
(
[to] => Array
(
[user] => Array
(
[name] => First User
)
[abc] => 123
[lmn] => 4582
)
[from] => Jani
[heading] => Reminder
[body] => Array
(
[abc] => 123
)
)
)
I have a string like "note > to > abc" and want value of "abc" under "to" array. So how can I get the value?
$arr['note']['to']['abc']data_get().data_get($arr, 'note.to.abc)