text->indexOf(" \n"); while ($pos !== \false) { $this->parser->addBrTag($pos + 2); $pos = $this->text->indexOf(" \n", $pos + 3); } } }