Da traduttori professionisti, imprese, pagine web e archivi di traduzione disponibili gratuitamente al pubblico.
=ד 1. serializing a single value
all the functions that serialize variables use the first element of an array to determine whether the array is to be serialized into an array or structure. if the first element has string key, then it is serialized into a structure, otherwise, into an array.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
蛁: in php 3, methods are not preserved when unserializing a serialized object. php 4 removes that limitation and restores both properties and methods. please see the serializing objects section of classes and objects or more information.
예 1. unserialize() example
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
when serializing objects, php will attempt to call the member function __sleep() prior to serialization. this is to allow the object to do any last minute clean-up, etc. prior to being serialized. likewise, when the object is restored using unserialize() the __wakeup() member function is called.
this is useful for storing or passing php values around without losing their type and structure.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità: