At 06:03 PM 3/7/2003 +0200, Marcus Börger wrote:Hello internals,
It is of course correct that an interface method cannot be declared private but i think it should be possible to declare it protected.
Interfaces should not support access modifiers and should by default be public.
Just in case I wasn't clear, interfaces *are* meant to be a contract to the outside world and aren't supposed to be used for all sorts of internal hierarchy stuff.
If they allow PPP modifiers today then that is a bug IMO.
Andi
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php