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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to