Pierre-Alain Joye wrote:
One sure thing, $this should not be set in static methods.I completely agree - the headache of fixing PEAR's "kind of static" methods is really annoying, and not really fixable. A method should either be static, non-static, or split into two methods, one that is static, and one that is not. Language-level enforcement of not allowing $this in static methods is very nice.
Grge
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php