I got a PHP object which can be an array or not.
I'd like to check not only that it's an array (which can be indexed by strings) but that it's an array of the form [x_1, x_2, x_3 ...]
.
Therefore the function is_array
doesn't suit me.
But what instead?