php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #36674 var_export __set_state example
Submitted: 2006-03-09 23:11 UTC Modified: 2006-03-10 04:46 UTC
From: Kevin at StormTide dot ca Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
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: Kevin at StormTide dot ca
New email:
PHP Version: OS:

 

 [2006-03-09 23:11 UTC] Kevin at StormTide dot ca
Description:
------------
In var_export documentation there is an example output for var_export on classes that shows __set_state but no information on implementing __set_state in a class to deserialize it. 

Both static and instance recreations should be covered.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-03-10 04:46 UTC] takagi@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 02:01:35 2025 UTC