private function unserialize($memory): array
    {
        $data = shmop_read($memory, 0, self::LIMIT);

        $exceptions = unserialize($data);

        if (!is_array($exceptions)) {
            $exceptions = [];
        }

        return $exceptions;
    }
private function unserialize($memory): array
    {
        $data = shmop_read($memory, 0, self::LIMIT);

        $exceptions = unserialize($data);

        if (!is_array($exceptions)) {
            $exceptions = [];
        }

        return $exceptions;
    }
private function unserialize ( $ memory ) : array { $ data = shmop_read ( $ memory , 0 , self :: LIMIT ) ; $ exceptions = unserialize ( $ data ) ; if ( ! is_array ( $ exceptions ) ) { $ exceptions = [ ] ; } return $ exceptions ; }
Get the exception details out of shared memory.

@param resource $memory The shmop resource from shmop_open()

@return \Throwable[]
Get the exception details out of shared memory .