Re: inheritance check too strict?

From: Date: Thu, 19 Aug 2010 18:30:13 +0000
Subject: Re: inheritance check too strict?
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-49466@lists.php.net to get a copy of this message
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

« previous php.internals (#49466) next »