Php Is_Iterable Function
# PHP is_iterable() Function
[PHP Available Functions](#)
The **is_iterable()** function is used to check whether a variable is an iterable value.
PHP Version Requirement: PHP 7 >= 7.1.0
### Syntax
bool is_iterable ( mixed $var )
Parameter Description:
* $var: The variable to check. It can be an array or an object that implements the Traversable interface.
### Return Value
Returns TRUE if the specified variable is an iterable object, otherwise returns FALSE.
### Example
## Example
The output is:
bool(true)bool(true)bool(true)bool(false)bool(false)
[PHP Available Functions](#)
YouTip