Re: Serialize() doesn't serialize objects recursively?
| From: | Yev | Date: | Wed, 20 Dec 2000 03:34:26 +0000 |
| Subject: | Re: Serialize() doesn't serialize objects recursively? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-31140@lists.php.net to get a copy of this message | ||
That's fine. I can get the functions from the class definition,
The problem stems from the fact that if the variable is another object,
it won't recursively serialize() that variable.. Or seems to be in my
experience
Yev
--- Daniel Convissor <danielc@analysisandsolutions.com> wrote:
> Hi Folks:
>
> Daniel Convissor wrote:
> >
> > Serialize doesn't work on objects (classes). I'm guessing because
> they're
> > too complex to represent in text form. Serialize is for passing
> variables.
>
> Allow me to clarify. Serialize will print out a representation of
> all
> variables within an object set at the time it's run, but it does not
> represent the functions within the class.
>
> Later,
>
> --Dan
>
> --
> PHP scripts that make your job easier
> http://www.analysisandsolutions.com/code/
> SQL Solution | Layout Solution | Form Solution
> T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
> 4015 7 Ave, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/