Searched refs:array_product (Results 1 – 13 of 13) sorted by relevance
2 Test array_product() function : variation5 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 …]
2 Test array_product() function : variation5 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 --
2 Test array_product() function : variation5 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 --
2 Test array_product() function with objects that implement addition but not castable to numeric type9 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 %d20 Warning: array_product(): Multiplication is not supported on type DoOperationNoCast in %s on line %d22 Warning: array_product(): Multiplication is not supported on type DoOperationNoCast in %s on line %d
2 Test array_product() function : variation5 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 %d41 Warning: array_product(): Multiplication is not supported on type resource in %s on line %d46 Warning: array_product(): Multiplication is not supported on type A in %s on line %d54 Warning: array_product(): Multiplication is not supported on type array in %s on line %d
2 Test array_product() function: resources in array7 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
2 Test array_product() function with empty array7 echo "array_product() version:\n";8 var_dump(array_product($input));14 array_product() version:
2 Test array_product() function with objects castable to numeric type9 echo "array_product() version:\n";10 var_dump(array_product($input));16 array_product() version:
2 Bug #35014 (array_product() always returns 0) (32bit)18 var_dump(array_product($v));
2 Bug #35014 (array_product() always returns 0) (64bit)20 var_dump(array_product($v));
1874 function array_product(array $array): int|float {} function
2380 ZEND_FUNCTION(array_product);
6430 PHP_FUNCTION(array_product) argument
Completed in 66 milliseconds