Hi!
But, when you add the possibility of getters and setters, a property becomes an abstraction. It would make sense that an interface declares
Nothing prevents you from having getters and setters as part of the interface :)
Properties in interfaces make no sense now, but if we ever get a structural method of declaring getters and setters, they might make sense.
You can easily have it right now: function __get($name) { $name = "__get".ucfirst($name); return $this->$name(); } etc. -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php