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
 [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: Thu Jul 10 15:01:33 2025 UTC