function getWhitespace($as_string = true) { $ws = array_keys($this->whitespace); return $as_string ? implode('', $ws) : $ws; }