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

From: Date: Fri, 27 Feb 2004 09:41:17 +0000
Subject: Re: Declaration of Bar::__construct() must be compatible
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-8201@lists.php.net to get a copy of this message
On 27 Feb 2004 at 11:12, Andi Gutmans wrote: > Comments? (Please try to keep them short :) I think we should just drop the signature check. Interfaces may include a signature for better readability but the engine should ignore them. PHP4 class trees work fine even without strict inheritance checks. Because of PHP's loose character, we cannot force the user to use the strict signature anyway. And since we have no overloading support, but var_args, strict checks make not much sense to me. -- Ferdinand Beyer <fb@fbeyer.com>

« previous php.internals (#8201) next »