Re: Bug #2971: Misbehaved instance variables in classes
| From: | Stanislav Malyshev | Date: | Tue, 14 Dec 1999 08:40:46 +0000 |
| Subject: | Re: Bug #2971: Misbehaved instance variables in classes | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-13681@lists.php.net to get a copy of this message | ||
>> $d = new Dialog();
>> $a = $d->addSelect();
Here Select object is copied (or is it copied on return - dunno). The
result is that while $a is not $d->sel - you work on $a, but $d->sel stays
intact.
--
Stanislav Malyshev stas@zend.com
+972-50-624945