@gr8gonzo: Great call. I had forgotten about that... Probably because I usually write my own get and set methods. But it will definitely trap the disallowed settings.
rgb192
ASKER
I do not understand how the set magic method is being called because only a property is
being called
$obj->my_private_property = "foo";
and not a method
$obj->method();
Ray Paseur
Here are the relevant man pages; all of them need to be understood to get the concept: