Home
last modified time | relevance | path

Searched refs:array_product (Results 1 – 10 of 10) sorted by relevance

/PHP-8.1/ext/standard/tests/array/
H A Darray_product_variation3.phpt2 Test array_product() function : variation
5 echo "*** Testing array_product() : variations - negative numbers***\n";
8 var_dump( array_product(array(-2)) );
11 var_dump( array_product(array(-2, -3)) );
14 var_dump( array_product(array(-2, -3, -4)) );
17 var_dump( array_product(array(-1.5)));
20 var_dump( array_product(array(-99999999.9, 99999999.1)));
25 *** Testing array_product() : variations - negative numbers***
27 -- Testing array_product() function with one negative number --
36 -- Testing array_product() function with negative floats --
[all …]
H A Darray_product_variation2.phpt2 Test array_product() function : variation
5 echo "*** Testing array_product() : variations ***\n";
7 echo "\n-- Testing array_product() function with a keyed array array --\n";
8 var_dump( array_product(array("bob" => 2, "janet" => 5)) );
11 *** Testing array_product() : variations ***
13 -- Testing array_product() function with a keyed array array --
H A Darray_product_variation4.phpt2 Test array_product() function : variation
5 echo "*** Testing array_product() : variations ***\n";
7 echo "\n-- Testing array_product() function with a very large array --\n";
15 var_dump( array_product($array) );
18 *** Testing array_product() : variations ***
20 -- Testing array_product() function with a very large array --
H A Darray_product_variation1.phpt2 Test array_product() function : variation
5 echo "*** Testing array_product() : variation - using non numeric values ***\n";
19 var_dump(array_product(array($type)));
26 *** Testing array_product() : variation - using non numeric values ***
H A Dbug48484.phpt2 Bug 48484 (array_product() always returns 0 for an empty array)
5 var_dump(array_product(array()));
H A Dbug35014.phpt2 Bug #35014 (array_product() always returns 0) (32bit)
19 var_dump(array_product($v));
H A Dbug35014_64bit.phpt2 Bug #35014 (array_product() always returns 0) (64bit)
21 var_dump(array_product($v));
/PHP-8.1/ext/standard/
H A Dbasic_functions.stub.php314 function array_product(array $array): int|float {} function
H A Dbasic_functions_arginfo.h2314 ZEND_FUNCTION(array_product);
2942 ZEND_FE(array_product, arginfo_array_product)
H A Darray.c5776 PHP_FUNCTION(array_product) argument

Completed in 42 milliseconds