Echo todas las variables globales de PHP

<?php
  // Returns all server global variables
  foreach ($_SERVER as $var => $value) {
    echo "$var => $value <br>";
  }
?>
godfreysseki