Re: towards the next 5.3 release
| From: | Lukas Kahwe Smith | Date: | Tue, 03 Feb 2009 19:58:50 +0000 |
| Subject: | Re: towards the next 5.3 release | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42906@lists.php.net to get a copy of this message | ||
On 03.02.2009, at 20:52, Greg Beaver wrote:
Stanislav Malyshev wrote:I agree. This is exactly what we have E_STRICT for .. regards, Lukas Kahwe Smith mls@pooteeweet.orgHi!I agree. If $y were optional, the LSP is no longer violated, and the E_STRICT disappears, as expected. Opn->Bgshttp://bugs.php.net/bug.php?id=46984 - E_STRICTI 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.