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.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to