Crypto Compress wrote (on 12/02/2014):
so there maybe output not present in the object at all. Great source of confusion.
What if the object makes use of __get and __set, but in a systematic way? Is it more "true" to represent it as having those virtual properties, or not having them?
It clearly depends on the use case, but it is certainly not only about *hiding* information, it can be about *exposing* information useful to the user of the object.
It still feels to me that someone debugging the implementation of the object, rather than its interaction with the system, would have plenty of opportunity to by-pass / remove the hook anyway.
Regards,
--
Rowan Collins
[IMSoP]