Hello Andi, Friday, July 4, 2003, 1:53:48 AM, you wrote:
AG> At 01:51 AM 4/7/2003 +0200, Andi Gutmans wrote: >>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. AG> Just in case I wasn't clear, interfaces *are* meant to be a contract to the AG> outside world and aren't supposed to be used for all sorts of internal AG> hierarchy stuff. AG> If they allow PPP modifiers today then that is a bug IMO. Of course they don't! And i should have used other words in my original mail perhaps. Because i only wanted to raise some thoughts about the issue. Allowing protected in interfaces would allow oo tricks that are surely very advanced and very very rare to find if we'd go with them. So i am just threw aside this idea. Best regards, Marcus mailto:[EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php