If I have a class that looks like this:

class MyClass {
  var $MyClassVar = "Bob";
}

is there a way to reference that variable w/o instantiating
MyClass?  I've tried:

MyClass::$MyClassVar
MyClass->$MyClassVar
MyClass.$MyClassVar

nothing works.  Is this even possible?  I'm using PHP 4.3.2.

thnx,
Chris

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to