Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Find the position of the first occurrence of a substring in a string
<?php strpos(string $haystack, string $needle, int $offset = 0): int|false
<?php         if (isset($results['REQUEST_URI'], $results['QUERY_STRING']) &&

            strlen($results['QUERY_STRING']) > 0 &&

            strpos($results['REQUEST_URI'], '?') === false) {

            $results['REQUEST_URI'] .= '?'.$results['QUERY_STRING'];

        }