public function offsetUnset($offset) { // Don't allow directly modifying the string throw new Exception('Stringy object is immutable, cannot unset char'); }