note 92840 deleted from keyword.extends by danbrown

From: Date: Tue, 11 Aug 2009 15:18:51 +0000
Subject: note 92840 deleted from keyword.extends by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-159322@lists.php.net to get a copy of this message
Note Submitter: Motaz Abuthiab gmail:moty66 ---- <?php class fu { public function __toString() { return __CLASS__; } } class bar extends fu { } echo new bar(); // will print fu echo bar; // will print bar in this case ?>

« previous php.notes (#159322) next »