This question has already been answered:
- Extract the value of the array with the keys in line 2 of the response
There is an array:
$array = ['key1'=>['key2'=>'val']]; In the line through the dot are the keys of the array:
$keys_string = 'key1.key2'; You need to change the value of the array using the keys specified through a dot in the $ keys_string variable.