<?php unserialize(string $data, array $options = []): mixed
<?php $this->assertEquals($firstNumber, $testClass->getRandomNumber()); $serialized = serialize($testClass); $unserialized = unserialize($serialized); unset($unserialized); $this->assertEquals($firstNumber, $testClass->getRandomNumber());