Re: [PHP-DEV] One more Liskov Subs. and parameter checking notice

2011-12-06 Thread Etienne Kneuss
Hi, On Tue, Dec 6, 2011 at 14:54, jpauli wrote: > Greetings PHP Intern@ls :) > > There is a PHP behavior I disagree with regarding OO model. > It's been here for a long time (5.0 ??, at least 5.2, 5.3 and 5.4) , here > it is : > > interface Iface1 { } > interface Iface2 extends Iface1 { } > > c

[PHP-DEV] One more Liskov Subs. and parameter checking notice

2011-12-06 Thread jpauli
Greetings PHP Intern@ls :) There is a PHP behavior I disagree with regarding OO model. It's been here for a long time (5.0 ??, at least 5.2, 5.3 and 5.4) , here it is : Strict Standards: Declaration of Foo2::bar() should be compatible with that of Foo::bar() I find this wrong. Liskov (and the