ID:               15521
 Updated by:       [EMAIL PROTECTED]
-Summary:          Can't call member function of an object in an array
                   stored in a session
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Class/Object related
 Operating System: Win NT/2000
 PHP Version:      4.1.1
 New Comment:

The bug still persists - ie. the bug was not the mistyped 1st line :P
Just wanted to make that clear..


Previous Comments:
------------------------------------------------------------------------

[2002-02-12 09:14:46] [EMAIL PROTECTED]

Gah, the 1st line was supposed to look like this:
$tObjects = $HTTP_SESSION_VARS['tObjects']; // Array of objects


------------------------------------------------------------------------

[2002-02-12 09:11:04] [EMAIL PROTECTED]

$tObjects = $HTTP_SESSION_VARS['$tObjects']; // Array of objects
$tObjects[0]->m_nVariable = 0;  // OK
$tObjects[0]->MemberFunction(); // Fatal error: Call to a member
function on a non-object


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=15521&edit=1

Reply via email to