HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/arborconsulting.komma.pro/vendor/teamtnt/tntsearch/helper/helpers.php
<?php

if (!function_exists('stringEndsWith')) {
    function stringEndsWith($haystack, $needle)
    {
        // search forward starting from end minus needle length characters
        return $needle === "" || (($temp = strlen($haystack) - strlen($needle)) >= 0 && strpos($haystack, $needle, $temp) !== false);
    }
}

if (!function_exists('fuzzyMatch')) {
    function fuzzyMatch($pattern, $items)
    {
        $fm = new TeamTNT\TNTSearch\TNTFuzzyMatch;
        return $fm->fuzzyMatch($pattern, $items);
    }
}

if (!function_exists('fuzzyMatchFromFile')) {
    function fuzzyMatchFromFile($pattern, $path)
    {
        $fm = new TeamTNT\TNTSearch\TNTFuzzyMatch;
        return $fm->fuzzyMatchFromFile($pattern, $path);
    }
}