|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15521 Can't call member function of an object in an array stored in a session
Submitted: 2002-02-12 09:11 UTC Modified: 2002-02-19 08:18 UTC
From: luny at sci dot fi Assigned:
Status: Closed Package: Class/Object related
PHP Version: 4.1.1 OS: Win NT/2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: luny at sci dot fi
New email:
PHP Version: OS:


 [2002-02-12 09:11 UTC] luny at sci dot fi
$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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-12 09:14 UTC] luny at sci dot fi
Gah, the 1st line was supposed to look like this:
$tObjects = $HTTP_SESSION_VARS['tObjects']; // Array of objects

 [2002-02-15 05:45 UTC] luny at sci dot fi
The bug still persists - ie. the bug was not the mistyped 1st line :P Just wanted to make that clear..
 [2002-02-19 08:18 UTC] luny at sci dot fi
This was my bug elsewhere in the code. So the PHP does not have the bug described.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 14 12:01:29 2024 UTC