Re: Declaration of Bar::__construct() must be compatible

From: Date: Thu, 26 Feb 2004 06:53:29 +0000
Subject: Re: Declaration of Bar::__construct() must be compatible
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-8151@lists.php.net to get a copy of this message
At 18:54 25/02/2004 -0500, Hans Lellelid wrote:
It seems now that PHP is no longer inconsistent, but it also seems that it is impossible to override methods w/ incompatible signature. Is that a correct assessment? This is a pretty big difference from PHP4, then. Personally, I can live with it :) -- just want to make sure I understand it correctly.
You understand completely. It is incorrect to override methods w/ incompatible signature. We don't check this in compatibility mode. Andi

« previous php.internals (#8151) next »