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

From: Date: Fri, 27 Feb 2004 18:39:26 +0000
Subject: Re: Declaration of Bar::__construct() must be compatible
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-8241@lists.php.net to get a copy of this message
On Fri, 2004-02-27 at 14:39, Stig S. Bakken wrote: > On Fri, 2004-02-27 at 14:13, Derick Rethans wrote: [...] > What is worse is that many PHP 4 APIs need to be completely redesigned > for PHP 5, not only the guts of the class. > > IMHO method overloading the the only clean way out of this. Agreed, but I can live with the E_STRICT solution (whether or not compat mode is enabled), too. E_NOTICE (or E_WARNING) would be annoying to people who have existing code with E_ALL. - Timm

« previous php.internals (#8241) next »