PHP 4.0 Bug #7833: Array and class works strange

From: Date: Wed, 15 Nov 2000 17:40:29 +0000
Subject: PHP 4.0 Bug #7833: Array and class works strange
Groups: php.dev 
Request: Send a blank email to php-dev+get-38158@lists.php.net to get a copy of this message
From: jens@unfaehig.de Operating system: Linux PHP version: 4.0.3pl1 PHP Bug Type: Scripting Engine problem Bug description: Array and class works strange I have a class called "foo" with a function "bar". I define $test[1] = new foo; When I try to use $test[1]->bar(); I get an error "Call to a member function on a non-object ". I would consider this being a bug. -- Edit Bug report at: http://bugs.php.net/?id=7833&edit=1

« previous php.dev (#38158) next »