On 16/10/12 14:55, Jazzer Dane wrote:
I'm going to agree with David here. It is most sensible to either allow properties AND accessors in interfaces, or don't allow either of them. __get/__set is a different subject that I'd rather not dig into while discussing this RFC.
I tossed in the __get/__set because they satisfy the interface. The problem with them it is that they would satisfy the interface at runtime rather than compile time, and thus would be unsafe to use. Kind of defeats the point of an interface... ;-)
Cheers, David -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php