Receiving arguments by reference:
----------------------------------------
Three ways of passing an argument to a function which wants to receive its argument by reference:
a) foo($a) // Passing a variable
b) foo(new foo()) // Passing a newly created object
c) foo(MyFactory()) // Where MyFactory() is explicitly defined to return the return value by reference, which is done by defining it as "function &MyFactor(){...}"
ALL OTHER ARGUMENT PASSING RESULTS IN UNDEFINED BEHAVIOR!
*anyone* should be able to understand this and avoid that "undefined behaviour"!
but it would be interesting what *could* happen... if just copied, fine
andré