Bug: Can't inherit abstract function
| From: | Timm Friebe | Date: | Sat, 09 Oct 2004 13:26:24 +0000 |
| Subject: | Bug: Can't inherit abstract function | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-13247@lists.php.net to get a copy of this message | ||
Hi,
the attached script produces:
Fatal error: Can't inherit abstract function Drawable::draw()
(previously declared abstract in Figure) in /usr/home/thekid/r.php on
line 12
which is wrong because I am not inheriting anything but implementing an
interface.
The problem is that both zend_do_inheritance() *and*
zend_do_implement_interface() use (merge_checker_func_t)
do_inherit_method_check.
Want me to open a bug report?
- Timm
Attachment: [application/x-php] r.php
Attachment: [application/x-php] r.php