original_string: public static function endsWith($string, $needle, $strict = true) {
          $end = static::extract($string, -mb_strlen($needle));
  
          if ($strict) {
              return ($end === $needle);
          }
  
          return (mb_strtolower($end) === mb_strtolower($needle));
      }
code: public static function endsWith($string, $needle, $strict = true) {
          $end = static::extract($string, -mb_strlen($needle));
  
          if ($strict) {
              return ($end === $needle);
          }
  
          return (mb_strtolower($end) === mb_strtolower($needle));
      }
code_tokens: public static function endsWith ( $ string , $ needle , $ strict = true ) { $ end = static :: extract ( $ string , - mb_strlen ( $ needle ) ) ; if ( $ strict ) { return ( $ end === $ needle ) ; } return ( mb_strtolower ( $ end ) === mb_strtolower ( $ needle ) ) ; }
docstring: Checks to see if the string ends with a specific value.
  
  @param string $string
  @param string $needle
  @param bool $strict
  @return bool
docstring_tokens: Checks to see if the string ends with a specific value .