array_product in PHP

Syntax of array_product number array_product(array array) Returns the product of every element in array. If each value in array is an integer, the resulting product is an integer; otherwise, the resulting product is a float Example of array_product product(a) = 384 product(array()) = 1