Re: object passing by reference

From: Date: Wed, 27 Nov 2002 14:05:47 +0000
Subject: Re: object passing by reference
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-126279@lists.php.net to get a copy of this message
At 01:34 27.11.2002, Hoffman, Geoffrey spoke out and said: --------------------[snip]-------------------- >I want to pass a reference to objectA along with other strings to a new >objectB( constructor. > >Where does my & go? I just keep getting > >Fatal error: Call to a member function on a non-object --------------------[snip]-------------------- Just as the error message says - you're trying to execute a function (like $hObj->foo()) where there's no such function. Would be helpful if you posted some code where the error arises... -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/

« previous php.general (#126279) next »