Translations:Manual:ApiResult.php/13/en

Setting $path to array('a','b','c') is equivalent to data['a']['b']['c'] = $value.