public static function arraySearch($pValue, array $pArray)
    {
        foreach($pArray as $key => $value) {
            $currentKey = $key;
            if ($pValue === $value or (is_array($value) and self::arraySearch($pValue, $value) !== false)) {
                return $currentKey;
            }
        }

        return false;
    }