Re: Bug: Can't inherit abstract function

From: Date: Wed, 13 Oct 2004 20:07:21 +0000
Subject: Re: Bug: Can't inherit abstract function
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-13330@lists.php.net to get a copy of this message
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

« previous php.internals (#13330) next »