Re: Bug: Can't inherit abstract function
| From: | Andi Gutmans | Date: | Thu, 14 Oct 2004 00:16:44 +0000 |
| Subject: | Re: Bug: Can't inherit abstract function | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-13331@lists.php.net to get a copy of this message | ||
Yeah this is definitely going to be fixed (partially fixed already in CVS) where you'll get a "You idiot" message if you try and use access modifiers :)
I thought there was another bug you pointed out in your code but I might be wrong. Can't remember.
Thanks,
Andi
At 10:07 PM 10/13/2004 +0200, Timm Friebe wrote:
On Tue, 2004-10-12 at 00:09, Andi Gutmans wrote: What do you expect to happen? I expected it to work: Either give me a compile error ("You idiot! Why are you using method modifiers in an interface?") or not complain and let me code improper OO. The problem is the the confusing message. Btw, there was a thread about this quite a while ago ("[PHP-DEV] protected interface methods", http://zend.com/lists/php-dev/200307/thrd5.html). The conclusion was, I guess, that interface methods should always be public. - Timm