note 52068 added to language.oop5.abstract
| From: | rogerATaudiowebDOTno at osu1 dot php dot net | Date: | Wed, 20 Apr 2005 14:04:02 +0000 |
| Subject: | note 52068 added to language.oop5.abstract | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-88265@lists.php.net to get a copy of this message | ||
It is also worth noting that the error message you get when the extending class do not implement a
abstract function defined in the parent is a little confusing:
Fatal error: Class MenuFormat1 contains 1 abstract methods and must therefore be declared abstract
(MenuBuilder::buildDisplay) in /usr/home/www/sites/bofly.audioweb.no/class-menuformat1.inc on line
30
This is the same message you get when you forget to define the class abstract.
A bug or not? I dunno, but it is confusing
----
Manual Page -- http://www.php.net/manual/en/language.oop5.abstract.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+52068
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52068&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52068&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52068&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52068&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52068&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+52068&report=yes
Search -- http://master.php.net/manage/user-notes.php