Objects and objects' references
| From: | Przem Kowalczyk | Date: | Tue, 22 Aug 2000 12:07:23 +0000 |
| Subject: | Objects and objects' references | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-12923@lists.php.net to get a copy of this message | ||
Hi
I know if I create an object and give it as a parameter to another object's
method:
$objA = new ObjA();
$objB = new ObjB();
$objB -> method($objA);
ObjA got passed by value (and objB gots private copy of objA). I wonder
whether it will change in future. i.e. will be there possibility to choose
if object got passed by value OR reference?
Przem