note 25356 deleted from function.get-parent-class by didou

From: Date: Thu, 03 Jul 2003 11:27:18 +0000
Subject: note 25356 deleted from function.get-parent-class by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-51427@lists.php.net to get a copy of this message
Note Submitter: apex@prezent.nl ---- Overloading functions <? class basic { function test() { echo "Basic\n"; } } class basic_extends extends basic { function test() { parent::test(); echo "Basic Extends\n"; } } ?> </pre> $test = new basic_extends; $test->test(); this returns echos Basic Basic Extends

« previous php.notes (#51427) next »