PHP Conference Nagoya 2025

The Random\IntervalBoundary Enum

Giriş

The Random\IntervalBoundary enum specifies whether an interval includes the boundary values within the set of values lying in the interval.

Enum synopsis

enum Random\IntervalBoundary
{
case ClosedOpen ;
/** A left-open interval. The lower boundary is included in the interval, the upper boundary is not. */
case ClosedClosed ;
/** A closed interval. Both boundary values are included in the interval. */
case OpenClosed ;
/** A right-open interval. The upper boundary is included in the interval, the lower boundary is not. */
case OpenOpen ;
/** An open interval. Neither boundary value is included in the interval. */
}
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top