<?php rtrim(string $string, string $characters = " \n\r\t\v\x00"): string
<?php } $this->buffer = trim($this->buffer); $this->buffer = rtrim($this->buffer, '.').'.'; $lines = explode(PHP_EOL, $this->buffer);