update : 2015.11.03
php.shukuma.com

검색:
 
 
String representation of object

Serializable::serialize

(PHP 5 >= 5.1.0)

Serializable::serializeString representation of object

설명

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.

인수

이 함수는 인수가 없습니다.

반환값

Returns the string representation of the object or NULL

오류/예외

Throws Exception when returning other types than strings and NULL.

참고