public function setMicrotime($microtime) { $data = DoublePacker::pack($microtime); if (!shm_put_var($this->memory, 0, $data)) { throw new StorageException("Could not store in shared memory."); } }