|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12961 classes, arrays and serialize / sessions
Submitted: 2001-08-25 19:17 UTC Modified: 2001-09-08 16:09 UTC
From: mattar at jep dot de Assigned:
Status: Closed Package: Class/Object related
PHP Version: 4.0.4pl1 OS: Suse 6.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: mattar at jep dot de
New email:
PHP Version: OS:


 [2001-08-25 19:17 UTC] mattar at jep dot de
class test {
var $num;

function test($p) {

function nothing() {}


$temp[0]=new test("foo");
echo htmlentities(serialize($temp));
echo "<p>".htmlentities(serialize($temp));
The above script gives me the following output:


This too breaks the session functions for that object.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-09-08 16:09 UTC] mattar at jep dot de
Seems to be fixed in the latest Snapshot...
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 24 04:01:31 2024 UTC