Language: PHP
Label: vulnerable
CWE: NVD-CWE-noinfo \u2014 

Code:
            return in_array($paramName, $paramArray);
        }, ARRAY_FILTER_USE_KEY);

        if (!empty($paramArray)) {
            foreach ($paramArray as $p) {
                if (isset($request->params['named'][$p])) {
                    $data[$p] = str_replace(';', ':', $request->params['named'][$p]);
                }
            }
        }
        foreach ($data as &$v) {
            if (is_string($v)) {
                $v = trim($v);
                if (strpos($v, '||')) {
                    $v = explode('||', $v);
                }
            }
        }
        unset($v);
        return $data;

    }