Searched refs:array_product (Results 1 – 12 of 12) sorted by relevance
/PHP-7.2/ext/standard/tests/array/ |
H A D | array_product_variation3.phpt | 2 Test array_product() function : variation 5 /* Prototype : mixed array_product(array input) 14 var_dump( array_product(array(-2)) ); 17 var_dump( array_product(array(-2, -3)) ); 20 var_dump( array_product(array(-2, -3, -4)) ); 23 var_dump( array_product(array(-1.5))); 26 var_dump( array_product(array(-99999999.9, 99999999.1))); 32 *** Testing array_product() : variations - negative numbers*** 34 -- Testing array_product() function with one negative number -- 43 -- Testing array_product() function with negative floats -- [all …]
|
H A D | array_product_error.phpt | 2 Test array_product() function : error conditions 5 /* Prototype : mixed array_product(array input) 11 echo "*** Testing array_product() : error conditions ***\n"; 14 echo "\n-- Testing array_product() function with Zero arguments --\n"; 15 var_dump( array_product() ); 17 //Test array_product with one more than the expected number of arguments 21 var_dump( array_product($input, $extra_arg) ); 24 var_dump( array_product("bob") ); 29 *** Testing array_product() : error conditions *** 31 -- Testing array_product() function with Zero arguments -- [all …]
|
H A D | array_product_variation5.phpt | 2 Test array_product() function : usage variation 5 /* Prototype : mixed array_product(array input) 11 echo "*** Testing array_product() : usage variation ***\n"; 91 var_dump( array_product($value) ); 97 *** Testing array_product() : usage variation *** 121 Warning: array_product() expects parameter 1 to be array, float given in %sarray_product_variation5… 126 Warning: array_product() expects parameter 1 to be array, float given in %sarray_product_variation5… 131 Warning: array_product() expects parameter 1 to be array, float given in %sarray_product_variation5… 136 Warning: array_product() expects parameter 1 to be array, float given in %sarray_product_variation5… 146 Warning: array_product() expects parameter 1 to be array, null given in %sarray_product_variation5.… [all …]
|
H A D | array_product_variation2.phpt | 2 Test array_product() function : variation 5 /* Prototype : mixed array_product(array input) 11 echo "*** Testing array_product() : variations ***\n"; 13 echo "\n-- Testing array_product() function with a keyed array array --\n"; 14 var_dump( array_product(array("bob" => 2, "janet" => 5)) ); 18 *** Testing array_product() : variations *** 20 -- Testing array_product() function with a keyed array array --
|
H A D | array_product_variation4.phpt | 2 Test array_product() function : variation 5 /* Prototype : mixed array_product(array input) 11 echo "*** Testing array_product() : variations ***\n"; 13 echo "\n-- Testing array_product() function with a very large array --\n"; 21 var_dump( array_product($array) ); 25 *** Testing array_product() : variations *** 27 -- Testing array_product() function with a very large array --
|
H A D | array_product_variation1.phpt | 2 Test array_product() function : variation 5 /* Prototype : mixed array_product(array input) 11 echo "*** Testing array_product() : variation - using non numeric values ***\n"; 25 var_dump(array_product(array($type))); 33 *** Testing array_product() : variation - using non numeric values ***
|
H A D | bug35014.phpt | 2 Bug #35014 (array_product() always returns 0) (32bit) 22 var_dump(array_product($v)); 26 Warning: array_product() expects parameter 1 to be array, string given in %s on line %d
|
H A D | bug35014_64bit.phpt | 2 Bug #35014 (array_product() always returns 0) (64bit) 22 var_dump(array_product($v)); 26 Warning: array_product() expects parameter 1 to be array, string given in %s on line %d
|
H A D | bug48484.phpt | 2 Bug 48484 (array_product() always returns 0 for an empty array) 5 var_dump(array_product(array()));
|
/PHP-7.2/ext/standard/ |
H A D | php_array.h | 99 PHP_FUNCTION(array_product);
|
H A D | basic_functions.c | 3372 PHP_FE(array_product, arginfo_array_product)
|
H A D | array.c | 5873 PHP_FUNCTION(array_product) argument
|
Completed in 45 milliseconds