W3cubDocs

/PHP

ReflectionParameter::isArray

(PHP 5 >= 5.1.2, PHP 7)

ReflectionParameter::isArrayChecks if parameter expects an array

Description

public ReflectionParameter::isArray ( ) : bool

Checks if the parameter expects an array.

Parameters

This function has no parameters.

Return Values

true if an array is expected, false otherwise.

See Also

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/reflectionparameter.isarray.php