Can someone explain $$_key = $_value (I see it often in plugin functions in Smarty dealing with passed parameters.) foreach ($params as $_key=>$_value) { switch ($_key) { case 'loop': $$_key = (array)$_value; // hmm....$$_key break; Thanks Urb