Desativar todas as variáveis no script PHP

Tentando desarmar automaticamente todas as variáveis no script.

Já tentei desta maneira:

  echo '<br /> Variables in Script before unset(): <br />';
  print_r(array_keys(get_defined_vars()));
  echo '<br /><br />';
  var_dump(get_defined_vars());

  // Creates string of comma-separated variables(*) for unset.
  $all_vars = implode(', 

Por que isso não funciona?

Existe uma maneira melhor de fazer isso?

Obrigado por ajudar!

(*) It's seems somewhat that it does not really create the variables, but a string that looks like variables...

, array_keys(get_defined_vars())); echo '<br /><br />'; echo '<br />List Variables in Script: <br />'; echo $all_vars; unset($all_vars); echo '<br /><br />'; echo '<br />Variables in Script after unset(): <br />'; print_r(array_keys(get_defined_vars())); echo '<br />'; var_dump(get_defined_vars());

Por que isso não funciona?

Existe uma maneira melhor de fazer isso?

Obrigado por ajudar!

(*) It's seems somewhat that it does not really create the variables, but a string that looks like variables...

questionAnswers(3)

yourAnswerToTheQuestion