} public function displayText() { echo $this->text; } public static function say() { echo self::$silence; } } class Second extends First { public function displayText() { echo 'second ' . $this->text . '<br />'; parent::displayText(); } } class Third extends Second { } echo First::$silence; First::$silence = 'ooooo'; echo First::$silence; echo Second::$silence; Third::say(); // $first = new First(); // $first->text = 'world'; // $first->displayText(); // $second = new Second('asdfasdfljkqw qwer qlwejrqwer'); // $second->displayText();