Hi!

I know that you know this, but I want this to be clear:
the extra args ignored only from the class definition point of view,
they can be harvested by the func_get_args() function.

Right. Same can happen when inheriting, of course. There's no additional restriction when defining a method this way. That's entirely what LSP demands - no additional restriction. So why have the warning?
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

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

Reply via email to