Zend Framework: Listing contents of Zend_Registry

by c

$registry = Zend_Registry::getInstance(); 
foreach ($registry as $index => $value) {
  echo "Registry index $index contains:\n";
  var_dump($value);
}