Menu Riverview Church

ARRAY_PRODUCT

Calculate the product of values in an array

SYNTAX

array_product ( array $array ) : number

PARAMETERS

array

The array.

RETURN

Returns the product as an integer or float.

EXAMPLES

ARRAY

8

EMPTY

1

PHP