[PHP] Re: Unable to return object references from functions

2001-12-14 Thread Yasuo Ohgaki
Manuel Lemos wrote: > Hello, > > I am trying to return a reference from an object created inside a > function and at the same time have the object stored in a global > variable. > > It seems that when I try doing it by assigning the object reference to a > function argument that is passed by re

[PHP] Re: Unable to return object references from functions

2001-12-15 Thread John Lim
Hi Yasuo, I seem to remember having similar problems understanding objects and references also and you guided me here. Manuel is a good programmer and if he also has problems, I'm a bit worried for novices. Objects and references are not intuitive :( Regards, John Yasuo Ohgaki <[EMAIL PROTECTED