Re: Static and non-static methods

From: Date: Mon, 07 Apr 2003 15:02:39 +0000
Subject: Re: Static and non-static methods
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-759@lists.php.net to get a copy of this message
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? -Andrei http://www.gravitonic.com/ * Programming is an art form that fights back. *

« previous php.internals (#759) next »