PHP references are like C++ references. PHP5 objects are like Java objects, which behave like pointers without the pointer syntax, e.g., when you pass a PHP5 object as an argument, it is passed as if you are passing a pointer to the object. PHP4 objects are like C++ objects in that they are passed by value by default.Sorry, I come from PHP where objects are just variables to classes.