Ok, so here’s the deal: the __call() function handles functions that haven’t been defined in your class, __get() handles properties that haven’t been defined in your class, but what about handling OBJECTS that haven’t been defined? E.g. if somewhere in your object/class you do this maneuver: $this->does_not_exist->my_function(); Usually this just ends up with a fatal error, e.g.
Fatal error: Call to a member function my_function() on a non-object
I’m looking over this article:
http://www.devshed.com/c/a/PHP/Abstract-Classes-in-PHP-Working-with-PHP-5/3/
Is this stuff just not really possible in PHP until later versions? Eg. 5.3?