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.来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
