protected function setupSegment() {
		// Attempt to open shm segment
		$this->shm = @shmop_open($this->getIdentifier(), self::SHM_OPEN_MODE, 0, 0);

		// If segment doesn't exist init new segment
		if (false === $this->shm) {
			$this->createSegment();
		}
	}
protected function setupSegment() {
		// Attempt to open shm segment
		$this->shm = @shmop_open($this->getIdentifier(), self::SHM_OPEN_MODE, 0, 0);

		// If segment doesn't exist init new segment
		if (false === $this->shm) {
			$this->createSegment();
		}
	}
protected function setupSegment ( ) { // Attempt to open shm segment $ this -> shm = @ shmop_open ( $ this -> getIdentifier ( ) , self :: SHM_OPEN_MODE , 0 , 0 ) ; // If segment doesn't exist init new segment if ( false === $ this -> shm ) { $ this -> createSegment ( ) ; } }
Create or open shared memory segment using current key
Create or open shared memory segment using current key