I'm not entirely sure what you mean here, but to add to Tim's advice, to see member variables outside of a class you need to have an instance of the class, like so:
class foo {
var $bar;
$this->bar = "yoo hoo";
function lisp($msg) {
return ereg_replace("s", "th", $msg);
}
}
$bletch = new foo();
print $bletch->bar; // prints "yoo hoo"
print $bletch->lisp("She sells seashells by the seashore");
etc.
HTH,
AC