BcMath\Number::__unserialize

(PHP 8 >= 8.4.0)

BcMath\Number::__unserializeDeserializes a data parameter into a BcMath\Number object

Açıklama

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

Deserializes a data parameter into a BcMath\Number object.

Bağımsız Değişkenler

data
The serialized data parameter as an associative array

Hatalar/İstisnalar

This method throws a ValueError if invalid serialized data is passed.

Ayrıca Bakınız

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