note 63630 deleted from function.get-class by bjori
| From: | bjori@php.net | Date: | Sun, 26 Mar 2006 12:30:50 +0000 |
| Subject: | note 63630 deleted from function.get-class by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-106630@lists.php.net to get a copy of this message | ||
Note Submitter: mina86 at projektcode dot org
----
Re darkfalconIV at hotmail dot com:
Of course it will return 'Monkey'. Calling Man::getType() should be cosidered a fatal
error anyway since there is no static method getType() declared in Man class. Static methods should
not get inherited in the first place. I cannot think of a situation when one would accualy need to
call a static method from a child since the method is declared in the parent class so it cannot use
any features child class provides anyway.