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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to