Home
last modified time | relevance | path

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

/php-src/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_objects_operation_no_cast.phpt2 Test array_product() function with objects that implement addition but not castable to numeric type
9 echo "array_product() version:\n";
10 var_dump(array_product($input));
16 array_product() version:
18 Warning: array_product(): Multiplication is not supported on type DoOperationNoCast in %s on line %d
20 Warning: array_product(): Multiplication is not supported on type DoOperationNoCast in %s on line %d
22 Warning: array_product(): Multiplication is not supported on type DoOperationNoCast in %s on line %d
H A Darray_product_variation1.phpt2 Test array_product() function : variation
5 echo "*** Testing array_product() : variation - using non numeric values ***\n";
18 var_dump(array_product([1, $type]));
24 *** Testing array_product() : variation - using non numeric values ***
33 Warning: array_product(): Multiplication is not supported on type string in %s on line %d
41 Warning: array_product(): Multiplication is not supported on type resource in %s on line %d
46 Warning: array_product(): Multiplication is not supported on type A in %s on line %d
54 Warning: array_product(): Multiplication is not supported on type array in %s on line %d
H A Darray_product_variation5.phpt2 Test array_product() function: resources in array
7 echo "array_product() version:\n";
8 var_dump(array_product($input));
18 array_product() version:
20 Warning: array_product(): Multiplication is not supported on type resource in %s on line %d
H A Darray_product_empty_array.phpt2 Test array_product() function with empty array
7 echo "array_product() version:\n";
8 var_dump(array_product($input));
14 array_product() version:
H A Darray_product_variation6.phpt2 Test array_product() function with objects castable to numeric type
9 echo "array_product() version:\n";
10 var_dump(array_product($input));
16 array_product() version:
H A Dbug35014.phpt2 Bug #35014 (array_product() always returns 0) (32bit)
18 var_dump(array_product($v));
H A Dbug35014_64bit.phpt2 Bug #35014 (array_product() always returns 0) (64bit)
20 var_dump(array_product($v));
/php-src/ext/standard/
H A Dbasic_functions.stub.php1874 function array_product(array $array): int|float {} function
H A Dbasic_functions_arginfo.h2380 ZEND_FUNCTION(array_product);
H A Darray.c6430 PHP_FUNCTION(array_product) argument

Completed in 53 milliseconds