seek scripts php
SEEKSCRIPTS.COM - OPEN SOURCE, FREE AND COMMERCIAL PHP SCRIPTS FOR YOUR SITE

home page latest news web development curriculum vitae php scripts contact me

  • C# (Microsoft .NET)
  • JAVA
  • Dynamic HTML
  • PHP & MySQL
  • ASP.NET - C# & VB.NET
  • Perl & CGI
  • C | C++
  • Vector Markup Language
  • SMIL
  • Assembler
  • Databases
  • Wap Development
  • Web site promotion
  • Web Marketing


  • Curriculum Vitae (CV)
  • Major web solutions
  • Web design projects
  • Software solutions

Is it possible in PHP to preserve the object methods when serializing the object?

Free programming example written by Anton Zamov


No, unfortunately this is not possible. That means that whenever you
serialize an object with the PHP function serialize, its methods will be 
lost (and you'll not be able to restore them with unserialize anymore). 
Serializing in PHP could be used only to serialize simple variable of 
type string, integer, double, array and object.




If this example was useful for you, please support my company and click Like on the button below. Thank you very much!




Jobs Portal, poweful jobs board software

PHP Mall, multi vendors mall website software

Car Portal, php script for auto classifieds websites

NetArt Media, software products and services

Real Estate Portal, web software for real estate portals

Blog System, multi user blog hosting script

Classified Ads Script, Responsive & SEO optimized PHP classified ads script for your site

WebSite Directory Script, Create easily your own website directory with this professionally designed script

C# (Microsoft .NET) | JAVA | Dynamic HTML | PHP & MySQL | Perl & CGI | C | C++ | Vector Markup Language
SMIL | Assembler | Databases | Wap Development | Web site promotion | Web Marketing

Copyright Anton Zamov 1998-2013