Date: 03/24/99
- Next message: Rasmus Lerdorf: "Re: [PHP-DEV] Invalid URL problem"
- Previous message: Alain Malek: "[PHP-DEV] Invalid URL problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: alsol <email protected>
Operating system: FreeBSD 3.1-RELEASE
PHP version: 3.0.6
PHP Bug Type: Parser error
Bug description: Cannot access an array of class objects stored in object
<?
class B
{
var $y;
function B( $n )
{
$this->y = "test_$n";
}
};
class A
{
var $x;
function A()
{
$this->x[0] = new B( 0 );
$this->x[1] = new B( 1 );
}
};
$t = new A;
echo $t->x[1]->y;
?>
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: Rasmus Lerdorf: "Re: [PHP-DEV] Invalid URL problem"
- Previous message: Alain Malek: "[PHP-DEV] Invalid URL problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

