public function offsetSet($offset, $value) { if (!$this->locked && $this[$offset] != $value) { if ($value) { $this->_data[strval($offset)] = true; } else { unset($this->_data[strval($offset)]); } Horde_Shutdown::add($this); } }