During a nice chat with Andi both of us came to the conclusion that the user may shoot himself in the knee if he wants to. So we allow unsetting default properties what makes PHP objects a thing between real objects and pure instances.
Just for the record, the pain involved in this shot won't be that significant. Because of the way the engine works, the access information related to the property (PPP setting, whether it's static or not, etc.) are kept separately, and won't be effected by unset(). So, if you unset a private property, it still remains private, just without any value currently attached to it. It's really not that bad.
Zeev
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php