final |
|---|
Bits of Type::getKindMask(): the kinds of values PHP tells apart by their type. A value is of exactly one kind, so two types whose masks share no bit share no value: their union cannot merge them into one member and their intersection is never.
| Methods | ||
|---|---|---|
public
static
|
areDisjoint(int $a, int $b): bool
Whether no value is of both masks' kinds. A mask without kinds, as of never, overlaps with every mask: a type of no values is a subtype of any other, which union() and intersect() still have to see. Whether no value is of both masks' kinds. A mask without kinds, as of never, overlaps with every mask: a type of no values is a subtype of any other, which union() and intersect() still have to see. |
# |