Hello Stanislav,

  it should actually be a hard error. As we always claim PHP follows pure
IS-A relation ships.

Tuesday, February 3, 2009, 8:42:51 PM, you wrote:

> Hi!

>> http://bugs.php.net/bug.php?id=46984 - E_STRICT

> I think overriding foo($x) with foo($x, $y) - with both parameters 
> required - leads to calls to foo with one argument be wrong for child - 
> thus violating LSP and warranting E_STRICT.
> -- 
> Stanislav Malyshev, Zend Software Architect
> s...@zend.com   http://www.zend.com/
> (408)253-8829   MSN: s...@zend.com




Best regards,
 Marcus


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

Reply via email to