Re: [PHP] Re: php 5 interfaces

2005-01-20 Thread Jochem Maas
M. Sokolewicz wrote: Sergio Gorelyshev wrote: Hi all. Situation: interface MyInterface { public static myMethod(); } class MyClass implements MyInterface { public static myMethod() {} } This sample will crash with message Fatal error: Access type for interface method MyInterface::myMethod() mus

Re: [PHP] Re: php 5 interfaces

2005-01-20 Thread Sergio Gorelyshev
On Thu, 20 Jan 2005 16:39:21 +0100 "M. Sokolewicz" <[EMAIL PROTECTED]> wrote: > Sergio Gorelyshev wrote: > > Hi all. > > > > Situation: > > > > interface MyInterface { > > public static myMethod(); > > } > > > > class MyClass implements MyInterface { > > public static myMethod() {} > > } > >