Bug report
arguments passed to a callback in array_* functions are not validated.
Code snippet that reproduces the problem
https://phpstan.org/r/6882a052-d9ab-4882-bae8-f38962184a94
Expected output
I'd expect to see the same error on the callback for array_ functions as when invoking the callable directly.