php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #5491 Object Serialization loses Object Methods
Submitted: 2000-07-10 14:19 UTC Modified: 2000-07-12 18:50 UTC
From: lurker at cc dot gatech dot edu Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.1pl2 OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: lurker at cc dot gatech dot edu
New email:
PHP Version: OS:

 

 [2000-07-10 14:19 UTC] lurker at cc dot gatech dot edu
Objects which are serialized lose their methods when unserialized.
Unserializing a serialized object should restore the object (and all nested objects and nested arrays of objects) to their exact preserialized state.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-12 18:50 UTC] hholzgra at cvs dot php dot net
you just have to require the apropriate class definitions
to have object methods methods working after deserialization



 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Jun 23 22:00:01 2026 UTC