1--TEST--
2Test array_product() function : variation
3--FILE--
4<?php
5/* Prototype  : mixed array_product(array input)
6 * Description: Returns the product of the array entries
7 * Source code: ext/standard/array.c
8 * Alias to functions:
9 */
10
11echo "*** Testing array_product() : variations ***\n";
12
13echo "\n-- Testing array_product() function with a very large array --\n";
14
15$array = array();
16
17for ($i = 0; $i < 999; $i++) {
18  $array[] = 999;
19}
20
21var_dump( array_product($array) );
22?>
23===DONE===
24--EXPECT--
25*** Testing array_product() : variations ***
26
27-- Testing array_product() function with a very large array --
28float(INF)
29===DONE===
30