Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Creates a PHP value from a stored representation
unserialize(string $data, array $options = []): mixed
    public function __construct($recaller)

    {

        
$this->recaller = @unserialize($recaller, ['allowed_classes' => false]) ?: $recaller;

    }
            $serialized base64_decode($serialized);

        }



        return 
unserialize($serialized);

    }
    public function dispatchNextJobInChain()

    {

        if (! empty(
$this->chained)) {

            
dispatch(tap(unserialize(array_shift($this->chained)), function ($next) {

                
$next->chained $this->chained;



                
$next->onConnection($next->connection ?: $this->chainConnection);
            return;

        }



        return 
$this->serializesValues unserialize($item['value']) : $item['value'];

    }
            $value base64_decode($value);

        }



        return 
unserialize($value);

    }

}
            return (float) $value;

        }



        return 
unserialize($value);

    }
        }



        try {

            
$data unserialize(substr($contents10));

        } catch (
Exception $e) {

            
$this->forget($key);
    protected function unserialize($value)

    {

        return 
is_numeric($value) ? $value unserialize($value);

    }

}
            throw new DecryptException('Could not decrypt the data.');

        }



        return 
$unserialize unserialize($decrypted) : $decrypted;

    }
    protected function prepareData()

    {

        if (
is_string($this->data)) {

            
$this->data unserialize($this->data);

        }

    }
    public function __unserialize(array $data)

    {

        if (isset(
$data['hasAttachments']) && $data['hasAttachments'] === true) {

            
$this->sent unserialize(base64_decode($data['sent']));

            
$this->data unserialize(base64_decode($data['data']));

        } else {

            
$this->sent $data['sent'];
    {

        if (isset(
$data['hasAttachments']) && $data['hasAttachments'] === true) {

            
$this->sent unserialize(base64_decode($data['sent']));

            
$this->data unserialize(base64_decode($data['data']));

        } else {

            
$this->sent $data['sent'];

            
$this->data $data['data'];
    protected function getCommand(array $data)

    {

        if (
str_starts_with($data['command'], 'O:')) {

            return 
unserialize($data['command']);

        }



        if (
$this->container->bound(Encrypter::class)) {
        }



        if (
$this->container->bound(Encrypter::class)) {

            return 
unserialize($this->container[Encrypter::class]->decrypt($data['command']));

        }



        throw new 
RuntimeException('Unable to extract job payload.');
        }



        if (
str_starts_with($payload['data']['command'], 'O:')) {

            
$instance unserialize($payload['data']['command']);

        } elseif (
$this->laravel->bound(Encrypter::class)) {

            
$instance unserialize($this->laravel->make(Encrypter::class)->decrypt($payload['data']['command']));

        }