BeyondCode
A union type accepts values of multiple different types, rather than a single one. Learn how they work in PHP 8.