public function offsetSet($offset, $value) { // Stringy is immutable, cannot directly set char throw new Exception('Stringy object is immutable, cannot modify char'); }