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 keyed array array --\n";
14var_dump( array_product(array("bob" => 2, "janet" => 5)) );
15?>
16===DONE===
17--EXPECTF--
18*** Testing array_product() : variations ***
19
20-- Testing array_product() function with a keyed array array --
21int(10)
22===DONE===
23