public function testRegionMatchesIgnoreCase() { $str1 = new Str("ASDFqwerty"); $str2 = new Str("QWERTYasdf"); $this->assertTrue($str1->regionMatchesIgnoreCase(0, $str2, 6, 4)); $this->assertTrue($str1->regionMatchesIgnoreCase(4, $str2, 0, 6)); }