original_string: private function memOpen(int $key, string $mode, int $permissions, int $size)
      {
          $this->handle = @shmop_open($key, $mode, $permissions, $size);
          if ($this->handle === false) {
              throw new SharedMemoryException('Failed to create shared memory block.');
          }
      }
code: private function memOpen(int $key, string $mode, int $permissions, int $size)
      {
          $this->handle = @shmop_open($key, $mode, $permissions, $size);
          if ($this->handle === false) {
              throw new SharedMemoryException('Failed to create shared memory block.');
          }
      }
code_tokens: private function memOpen ( int $ key , string $ mode , int $ permissions , int $ size ) { $ this -> handle = @ shmop_open ( $ key , $ mode , $ permissions , $ size ) ; if ( $ this -> handle === false ) { throw new SharedMemoryException ( 'Failed to create shared memory block.' ) ; } }
docstring: Opens a shared memory handle.
  
  @param int    $key         The shared memory key.
  @param string $mode        The mode to open the shared memory in.
  @param int    $permissions Process permissions on the shared memory.
  @param int    $size        The size to crate the shared memory in bytes.
docstring_tokens: Opens a shared memory handle .