protected static function setPath(&$m, $path, $val)
    {
        foreach ($path as $p) {
            $m =& $m[$p];
        }
        $m = $val;
    }
protected static function setPath(&$m, $path, $val)
    {
        foreach ($path as $p) {
            $m =& $m[$p];
        }
        $m = $val;
    }
protected static function setPath ( & $ m , $ path , $ val ) { foreach ( $ path as $ p ) { $ m = & $ m [ $ p ] ; } $ m = $ val ; }
Sets value by materialized path
@param  array &$m
@param  array $path
@param  mixed $val
@return void
Sets value by materialized path