necesitas pasar los argumentos por referencia, y así después usar
unset()
Código PHP:
$foo = array('candy');
$bar = array('does');
nothing($foo, $bar);
var_dump(isset($foo, $bar));
function nothing(&$a, &$b)
{
unset($a);
unset($b);
}
te sugiero
leer el manual de PHP
http://us3.php.net/manual/en/language.functions.php