Menu Riverview Church

IS_COUNTABLE

Verify that the contents of a variable is a countable value

SYNTAX

is_countable ( mixed $var ) : bool

PARAMETERS

var

The value to check

RETURN

Returns TRUE if var is countable, FALSE otherwise.

EXAMPLES

1

1

2

1

3

1

4

1

PHP