ReflectionParameter::isArray

( excerpt from http://php.net/manual/en/reflectionparameter.isarray.php )

public function isArray();

Checks if the parameter expects an array.

Returns

  • mixed - TRUE if an array is expected, FALSE otherwise.