public function test_linefeed_mask() { $str = "i\nñtërnâtiônàlizætiøn"; $this->assertEquals(1, u::strcspn($str, "\n")); }