serializing objects - loses methods - the point being?

Posted on 16th Feb 2014 07:03 pm by admin


I know that serializing an object will lose the methods. But whats the point in that? What if we need the methods . Lets say the serialized string is sent from an external server where the calling function does not have access to the class file itself. then there is no way to use the methods?

No comments posted yet

Your Answer:

Login to answer
129 Like 49 Dislike
Previous forums Next forums
Other forums

jquery validation in codeIgniter
hai i need to add client side validation to my fiels which are selected in a forloop.the fields are

HTML Email rec'd as Source Code
The code does create and send the email successfully. However, the message shows as html code and n

Tournament Brackets (Double Elimination)?
Is making a double elimination tournament style bracket system capable of being done in php?

reading xml faster than DB call?
I am trying to optimize a high traffic website, and I enabled a feature where there are three photos

noob cURL help
I have a pretty basic form that I need to cURL post to a file in my includes folder (includes/login.

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS

Play Free Quiz and Win Cash