php8.5
Home/ Manual/ language / types/ Mixed

Mixed

The mixed type accepts every value. It is equivalent to the union type object|resource|array|string|float|int|bool|null. Available as of PHP 8.0.0.

The mixed type accepts every value. It is equivalent to the union type object|resource|array|string|float|int|bool|null. Available as of PHP 8.0.0.

mixed is, in type theory parlance, the top type, meaning every other type is a subtype of it.

Source: language/types/mixed.xml · from the official PHP manual (php/doc-en)