(PHP 5 &gt;= 5.1.0)<br/>
Constructs the object
@link http://php.net/manual/en/serializable.unserialize.php
@param string $serialized <p>
The string representation of the object.
</p>
@return void
3339
public function unserialize($serialized)
    {
        $array = unserialize($serialized);
        $this->container = $array[0];
        $this->userList = $array[1];
        $this->database = $array[2];
        $this->connection = $array[3];
    }
535861
public function unserialize($serialized)
    {
        foreach (unserialize($serialized) as $item => $value) {
            $this->$item = $value;
        }
    }
619597
public function deserialize(string $serialized, ClassName $className = null)
    {
        $objectsAsArray = $this->decodeJson($serialized);

        if ($className !== null) {
            return $this->setObjectForClass($className, $objectsAsArray);
        }

        return $this->setObject($objectsAsArray);
    }
671137
public function unserialize($serialized)
    {
        $unserialized = unserialize($serialized);
        if ($this->_snapshot !== false) {
            $this->_snapshot = $unserialized;
        }

        foreach ((array)$unserialized as $field => $value) {
            $this->$field = $value;
        }
    }
197165
public function unserialize($serialized): void
    {
        $this->definitionMap = unserialize($serialized)
            ->mapWithKeys(function (array $node, string $key): array {
                return [$key => AST::fromArray($node)];
            });
    }
633157
public function unserialize( $serialized )
   {

      $data = \unserialize( $serialized );

      $this->_hours   = $data[ 'hours'   ] ?? $this->_hours;
      $this->_minutes = $data[ 'minutes' ] ?? $this->_minutes;
      $this->_seconds = $data[ 'seconds' ] ?? $this->_seconds;

   }
489095
public function unserialize($serialized): void
    {
        $cachedData = json_decode($serialized, true);

        if (json_last_error() !== JSON_ERROR_NONE) {
            throw new InvalidCachedResponse();
        }

        $this->protocolVersion     = $cachedData['protocolVersion'];
        $this->numericalStatusCode = $cachedData['numericalStatusCode'];
        $this->textualStatusCode   = $cachedData['textualStatusCode'];
        $this->headers             = $cachedData['headers'];
        $this->body                = $cachedData['body'];
    }
492650
public function unserialize($serialized)
    {
        list(
            $this->outFilePath,
            $this->width,
            $this->height,
            $this->frameRate,
            $this->loopCount,
            $this->gifData,
            $this->frames,
            $this->counter
        ) = unserialize($serialized);
    }
367910
public function unserialize($serialized)
    {
        $payload = unserialize($serialized);

        // We will extract the variables into the current scope so that as the Closure
        // is built it will inherit the scope it had before it was serialized which
        // will emulate the Closures existing in that scope instead of right now.
        extract($payload['variables']);

        eval('$this->closure = '.$payload['code'].';');

        $this->reflection = new ReflectionFunction($this->closure);
    }
492005
public function unserialize($serializedObject)
    {
        $objectVars = unserialize($serializedObject);

        foreach ($objectVars as $key => $value) {
            $this->{$key} = $value;
        }
    }
93641
public function unserialize($serialized)
    {
        $data = unserialize($serialized);
        $this->inspector = new Inspector($this);
        foreach ($data as $key => $value) {
            $this->$key = $value;
        }
        return $this;
    }
700598
public function unserialize($serialized)
    {
        $data          = unserialize($serialized);
        $this->results = [];

        /** @noinspection ForeachSourceInspection */
        foreach ($data['results'] as $item) {
            $this->results[] = $item;
        }

        /** @noinspection ForeachSourceInspection */
        foreach ($data['adapters'] as $item) {
            $this->adapters->insert($item['data'], $item['priority']);
        }
    }
1239879
public function unserialize($serialized)
    {
        $data = unserialize($serialized);
        $this->coverage = $data['coverage'];
        $this->filter   = $data['filter'];
        $this->options  = $data['options'];
        $this->path     = $data['path'];
    }
538800
protected function unserializeResponse($serialized)
    {
        $array = unserialize($serialized);
        if (!is_array($array) || 3 !== count($array)) {
            throw new Exception(sprintf('Error unserializing response: %s', $serialized));
        }

        return new Response($array[0], $array[1], $array[2]);
    }
1296380
public function unserialize($serialized) {
		$arr = \unserialize($serialized);
		$this->_Value = $arr[0];
		$this->_Encoding = $arr[1];
	}
1121361
private function decodeJson(string $serialized)
    {
        $objectsAsArray = json_decode($serialized, true);

        if (json_last_error() !== JSON_ERROR_NONE) {
            throw new InvalidJson(json_last_error_msg());
        }

        return $objectsAsArray;
    }
1128094
public function unserialize($serialized)
    {
        parent::unserialize($serialized);
        foreach ( $this->getMethods() as $item ) {
            $item->setBelongsTo($this);
        }
//        foreach ( $this->getConstants() as $item ) {
//            $item->setBelongsTo($this);
//        }
        foreach ( $this->getProperties() as $item ) {
            $item->setBelongsTo($this);
        }
        foreach ( $this->getTags() as $item ) {
            $item->setBelongsTo($this);
        }
//        return;
//        foreach ( [ $this->getMethods(), $this->getProperties(), $this->getConstants(), $this->getTags() ] as $collection ) {
//            /** @var Collection|AbstractStructure[] $collection */
//            foreach ( $collection as $item ) {
//                $item->setBelongsTo($this);
//            }
//        }
    }