Re: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c
| From: | Wez Furlong | Date: | Mon, 01 Dec 2003 13:05:02 +0000 |
| Subject: | Re: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-5868@lists.php.net to get a copy of this message | ||
serialize($obj) is different from serialize((string)$obj);
The reason I mentioned this is that serialize($obj) is currently
meaningless for COM objects, so people are using
serialize((string)$obj) to get a string representation.
--Wez.
> Just a moment here. You imply that serialize() would use the same
> conversion to string that print, etc.? But that's obviously wrong - no
> object of PHP does this. Serialized object is one and string
> representation is something very different.