Bug #1261 Updated: Cannot access an array of class objects stored in object
| From: | Bug Database | Date: | Wed, 24 Mar 1999 14:31:27 +0000 |
| Subject: | Bug #1261 Updated: Cannot access an array of class objects stored in object | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4748@lists.php.net to get a copy of this message | ||
ID: 1261
Updated by: rasmus
Reported By: alsol@ssu.sumy.com
Status: Closed
Bug Type: Parser error
Assigned To:
Comments:
This is a known limitation in the object dereferencing code in PHP3 and will not be fixed until
PHP4. The
workaround is to dereference it in two steps like this:
$t = new A;
$tt = $t->x[1];
echo $tt->y;
Full Bug description available at: http://ca.php.net/bugs.php3?id=1261
--
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