downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Serializable::unserialize> <Serializable
Last updated: Fri, 20 Nov 2009

view this page in

Serializable::serialize

(PHP 5 >= 5.1.0)

Serializable::serializeString representation of object

Description

abstract public string Serializable::serialize ( void )

Should return the string representation of the object.

Note: This method acts as the destructor of the object. The __destruct() method will not be called after this method.

Parameters

This function has no parameters.

Return Values

Returns the string representation of the object or NULL

Errors/Exceptions

Throws Exception when returning other types then strings and NULL

See Also



add a note add a note User Contributed Notes
Serializable::serialize
There are no user contributed notes for this page.

Serializable::unserialize> <Serializable
Last updated: Fri, 20 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites