Bad Idea To Use Get_Defined_Vars() With Partial Views?

Sometimes I embed a customizable partial view inside of another view. In these cases, it can be a pain to pass all the view parameters individually.

Is it a bad idea to just pass all the available variables to the partial view? E.g.:


$this->renderPartial('_subView', get_defined_vars());

Do you really need all your variables in your view?