# The Uri\UriComparisonMode enum

(PHP 8 >= 8.5.0)

## Introduction

Specifies if the `fragment` component should affect the result of a URI comparison.

If the fragment is excluded from the comparison, two URIs will be compared as if neither of them has a `fragment` component.

## Enum synopsis

namespace Uri;
enum UriComparisonMode
{
case IncludeFragment ; //The `fragment` component is included in the comparison.
case ExcludeFragment ; //The `fragment` component is excluded from the comparison.
}
`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open