array Is Not An Array

no-email (Damien Seguy), Damien Seguy
Tue, 29 Oct 2024 00:00:00 +0000

PHP native types, such as the scalar ``int`` cannot be specified with a leading ``\``. Such code get hit with a ``Type declaration ‘\int’ must be unqualified``.
This is the case for all of the PHP native types, except for ``array``, and ``iterable``.
That error message is really hilarious.