protected function writeValue($key, $value) {
		$data = $this->readData();
		$data[$key] = $this->encode($value);

		if ($this->writeData($data)) {
			return $value;
		}

		return false;
	}
protected function writeValue($key, $value) {
		$data = $this->readData();
		$data[$key] = $this->encode($value);

		if ($this->writeData($data)) {
			return $value;
		}

		return false;
	}
protected function writeValue ( $ key , $ value ) { $ data = $ this -> readData ( ) ; $ data [ $ key ] = $ this -> encode ( $ value ) ; if ( $ this -> writeData ( $ data ) ) { return $ value ; } return false ; }
Write value to shm segment
@param string $key
@param string $value
Write value to shm segment