".$class.":
\n"); $vars = get_class_vars($class); $methods = get_class_methods($class); foreach($vars as $varname=>$value) { echo("
  • var \$$varname = $value
  • \n"); } foreach($methods as $method) { echo("
  • method $method
  • \n"); } echo ""; } ?>