PHP 8.1.15 Released!

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.

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

add a note

User Contributed Notes

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