PHP 4.0 Bug #7833 Updated: Array and class works strange
| From: | stas@php.net | Date: | Tue, 21 Nov 2000 13:42:15 +0000 |
| Subject: | PHP 4.0 Bug #7833 Updated: Array and class works strange | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-38817@lists.php.net to get a copy of this message | ||
ID: 7833
Updated by: stas
Reported By: jens@unfaehig.de
Status: Feedback
Bug Type: Scripting Engine problem
Assigned To:
Comments:
Could you please give short script example that doesn't work
(including the class, etc.)?
Previous Comments:
---------------------------------------------------------------------------
[2000-11-15 12:40:29] jens@unfaehig.de
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.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7833