array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'function.wddx-deserialize.php', 1 => 'wddx_deserialize', 2 => 'Unserializes a WDDX packet', ), 'up' => array ( 0 => 'ref.wddx.php', 1 => 'WDDX Функції', ), 'prev' => array ( 0 => 'function.wddx-add-vars.php', 1 => 'wddx_add_vars', ), 'next' => array ( 0 => 'function.wddx-packet-end.php', 1 => 'wddx_packet_end', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/wddx/functions/wddx-deserialize.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

wddx_deserialize

(PHP 4, PHP 5, PHP 7)

wddx_deserializeUnserializes a WDDX packet

Увага

Ця функція ВИЛУЧЕНА в PHP 7.4.0.

Опис

wddx_deserialize(string $packet): mixed

Unserializes a WDDX packet.

Увага

Do not pass untrusted user input to wddx_deserialize(). Unserialization can result in code being loaded and executed due to object instantiation and autoloading, and a malicious user may be able to exploit this. Use a safe, standard data interchange format such as JSON (via json_decode() and json_encode()) if you need to pass serialized data to the user.

Параметри

packet

A WDDX packet, as a string or stream.

Значення, що повертаються

Returns the deserialized value which can be a string, a number or an array. Note that structures are deserialized into associative arrays.