private function strEndsWith($string, $niddle)
    {
        return mb_substr($string, mb_strlen($string) - mb_strlen($niddle), mb_strlen($niddle)) == $niddle;
    }
private function strEndsWith($string, $niddle)
    {
        return mb_substr($string, mb_strlen($string) - mb_strlen($niddle), mb_strlen($niddle)) == $niddle;
    }
private function strEndsWith ( $ string , $ niddle ) { return mb_substr ( $ string , mb_strlen ( $ string ) - mb_strlen ( $ niddle ) , mb_strlen ( $ niddle ) ) == $ niddle ; }
Case insensitive string ends with

@param  string $string
@param  string $niddle
@return boolean
Case insensitive string ends with