original_string: public function unserialize($serialized)
      {
          // Get the semaphore key and attempt to re-connect to the semaphore in memory.
          list($this->key, $this->maxLocks) = unserialize($serialized);
  
          if (msg_queue_exists($this->key)) {
              $this->queue = msg_get_queue($this->key);
          }
      }
code: public function unserialize($serialized)
      {
          // Get the semaphore key and attempt to re-connect to the semaphore in memory.
          list($this->key, $this->maxLocks) = unserialize($serialized);
  
          if (msg_queue_exists($this->key)) {
              $this->queue = msg_get_queue($this->key);
          }
      }
code_tokens: public function unserialize ( $ serialized ) { // Get the semaphore key and attempt to re-connect to the semaphore in memory. list ( $ this -> key , $ this -> maxLocks ) = unserialize ( $ serialized ) ; if ( msg_queue_exists ( $ this -> key ) ) { $ this -> queue = msg_get_queue ( $ this -> key ) ; } }
docstring: Unserializes a serialized semaphore.
  
  @param string $serialized The serialized semaphore.
docstring_tokens: Unserializes a serialized semaphore .