Re: Static and non-static methods

From: Date: Mon, 07 Apr 2003 19:53:09 +0000
Subject: Re: Static and non-static methods
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-767@lists.php.net to get a copy of this message
At 11:02 AM 4/7/2003 -0400, Andrei Zmievski wrote:
On Sat, 05 Apr 2003, Andi Gutmans wrote: Marcus, You and all the rest who want to break BC on this issue are welcome to use static in your code. IMO, nothing prevents you from writing nice OO code. It's not as if this is forcing you not to use static. Do you have a suggestion then for how I should handle the case where a non-static method is called as if it were static? Should the method throw an exception, a notice, an error?
If you ask me, I think an error would be appropriate. Andi

« previous php.internals (#767) next »