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
[edit] Last updated: Fri, 25 May 2012

view this page in

Serializable::serialize

(PHP 5 >= 5.1.0)

Serializable::serializeオブジェクトの文字列表現

説明

abstract public string Serializable::serialize ( void )

オブジェクトを文字列であらわしたものを返します。

注意:

このメソッドは、オブジェクトの デストラクタ として働きます。 このメソッドの後に __destruct() メソッドがコールされることは ありません。 method.

パラメータ

この関数にはパラメータはありません。

返り値

オブジェクトの文字列表現、あるいは NULL を返します。

エラー / 例外

Throws Exception when returning other types then strings and NULL

参考



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

 
show source | credits | stats | sitemap | contact | advertising | mirror sites