private function stateAntSL() { $pos = strpos($this->tmp, "\n"); if ($pos) { $this->tmp = substr($this->tmp, $pos); } else { $this->tmp = ''; } return 'stateNormal'; }