Chris Boget said: >> > equates an object to a function >> You'd be better off trying to equate an object to a data type. > > Why is that? Please explain? > I do not mean to sound trite. I do not know and am very curious > to hear more.
Consider two approaches to extending your procedural programming knowledge to OOP. Think of an object as a user-defined data type (that also includes functions). Think of an object as a bunch of functions (and some variables). The second is awkward and doesn't capture the purpose of OO. The real beauty of OO is that it is "data centric" and it allows the member functions of an object to be easily testable black-boxes. Good luck! -Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php