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.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
