on 22/7/04 10:49, Jason Barnett at [EMAIL PROTECTED] wrote: > The easiest way I can think of to prevent static method calls is to use the > $this pseudo variable in your method. A method *cannot* be used statically if > the method requires use of $this.
Unfortunately that doesn't work - it is exactly the case that fails in my example. $this IS set in a static method that's called from any object instance (even one of a different class), and it's a PHP feature, not a bug. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php