self::STAT: ' . self::STAT ; // refer to a (static) constant like this print '
self::$stat: ' . self::$stat ; // static variable print '
$this->stat: ' . $this->stat ; // legal, but not what you might think: empty result print '
$this->publ: ' . $this->publ ; // refer to an object variable like this print '
' ; } } $me = new Classy( ) ; $me->showMe( ) ; /* Produces this output: self::STAT: S self::$stat: Static $this->stat: $this->publ: Public */ ?>