private function compareValues($value, array $comparisons)
    {
        foreach ($comparisons as $comparison) {
            if (0 === strcasecmp($value, $comparison)) {
                return true;
            }
        }

        return false;
    }
private function compareValues($value, array $comparisons)
    {
        foreach ($comparisons as $comparison) {
            if (0 === strcasecmp($value, $comparison)) {
                return true;
            }
        }

        return false;
    }
private function compareValues ( $ value , array $ comparisons ) { foreach ( $ comparisons as $ comparison ) { if ( 0 === strcasecmp ( $ value , $ comparison ) ) { return true ; } } return false ; }
Case insensitively compares values.

@param string $value
@param array  $comparisons

@return bool
Case insensitively compares values .