public function getNextLine() { if (isset($this->strings[$this->line])) { $result = $this->strings[$this->line]; $this->line++; } else { $result = false; } return $result; }