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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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: Sun Jun 14 13:00:01 2026 UTC