question about objects and references

From: Date: Mon, 13 May 2002 09:16:22 +0000
Subject: question about objects and references
Groups: php.general 
Request: Send a blank email to php-general+get-97324@lists.php.net to get a copy of this message
When I pass an object as a parameter to a function as "$this", this is an object reference (according to the docs). I store this reference in a local variable called $someObject. $someObject now contains an object pointer. I pass $someObject to another function. Is this a reference to the original $this, or is it a copy of the object? All function calls are by value, not by reference (without the "&" name modifier). s.m.

« previous php.general (#97324) next »