PHP array_product() Function

The array_product() function calculates and returns the product of an array.

Example -

Example -