BcMath\Number::__unserialize

(PHP 8 >= 8.4.0)

BcMath\Number::__unserializeDeserializa un argumento de datos en un objeto BcMath\Number

Descripción

public BcMath\Number::__unserialize(array $data): void

Deserializa un argumento de datos en un objeto BcMath\Number.

Parámetros

data
El argumento de datos serializado como un array asociativo.

Errores/Excepciones

Este método lanza una ValueError si se pasan datos serializados inválidos.

Ver también

add a note

User Contributed Notes 1 note

up
-1
oldiesmann at gmail dot com
11 days ago
This function doesn't appear to work at all. You have to create a new BCMath\Number object to use it, at which point it attempts to overwrite the value of said object - and of course that won't work because BCMath\Number::$value is readonly.
To Top