Example #1
0
 public function test_end_with__match()
 {
     $assertion = \UString::endWith('http://www.example.com/', '/');
     $this->assertEquals('http://www.example.com/', $assertion);
 }
Example #2
0
 public static function doEndWith(&$haystack, $needle)
 {
     $haystack = \UString::endWith($haystack, $needle);
 }