private static function noAmbiguousValues($constants)
    {
        foreach ($constants as $value) {
            $names = \array_keys($constants, $value, true);
            if (\count($names) > 1) {
                return false;
            }
        }

        return true;
    }
private static function noAmbiguousValues($constants)
    {
        foreach ($constants as $value) {
            $names = \array_keys($constants, $value, true);
            if (\count($names) > 1) {
                return false;
            }
        }

        return true;
    }
private static function noAmbiguousValues ( $ constants ) { foreach ( $ constants as $ value ) { $ names = \ array_keys ( $ constants , $ value , true ) ; if ( \ count ( $ names ) > 1 ) { return false ; } } return true ; }
Test that the given constants does not contain ambiguous values
@param array $constants
@return bool
Test that the given constants does not contain ambiguous values