Re: Bug #843 Updated:Work Around: Cannot assign to object instance variable within an array of objects
| From: | Palle Simonsen | Date: | Tue, 13 Oct 1998 18:06:31 +0000 |
| Subject: | Re: Bug #843 Updated:Work Around: Cannot assign to object instance variable within an array of objects | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1838@lists.php.net to get a copy of this message | ||
---Bug Database <php-dev@lists.php.net> wrote:
>
> ID: 843
> Updated by: zeev
> Reported By: palle@simonsens.com
> Status: Closed
> Bug Type: Parser error
> Assigned To:
> Comments:
>
> It cannot be done in PHP 3.0. Search the mailing list for
> letters from me, discussing limitations of the objects
> implementation in PHP 3.0.
>
> We will try to address this in PHP 3.1
>
> Full Bug description available at:
> http://ca.php.net/bugs.php3?id=843
>
>
A small workaround (if apache GC works :-)):
$i = obj->array_of_objects[$index];
$i->some_field = some_value;
obj->array_of_objects[$index] = $i;
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net