예제 #1
0
 /**
  *
  */
 public function testEndsWithCaseInsensitive()
 {
     $this->assertTrue(String::endsWith('c', 'abc', false));
     $this->assertFalse(String::endsWith('c', 'xyz', false));
     $this->assertTrue(String::endsWith('C', 'abc', false));
     $this->assertTrue(String::endsWith('C', 'Abc', false));
 }