Home
last modified time | relevance | path

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

/PHP-5.5/ext/standard/tests/array/
H A Darray_product_variation3.phpt2 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 Darray_product_error.phpt2 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 Darray_product_variation5.phpt2 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 ***
101 Warning: array_product() expects parameter 1 to be array, integer given in %sarray_product_variatio…
121 Warning: array_product() expects parameter 1 to be array, double given in %sarray_product_variation…
126 Warning: array_product() expects parameter 1 to be array, double given in %sarray_product_variation…
146 Warning: array_product() expects parameter 1 to be array, null given in %sarray_product_variation5.…
151 Warning: array_product() expects parameter 1 to be array, null given in %sarray_product_variation5.…
[all …]
H A Darray_product_variation2.phpt2 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 Darray_product_variation4.phpt2 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 Darray_product_variation1.phpt2 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 Dbug35014_64bit.phpt2 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 Dbug35014.phpt2 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 Dbug48484.phpt2 Bug 48484 (array_product() always returns 0 for an empty array)
5 var_dump(array_product(array()));
/PHP-5.5/ext/standard/
H A Dphp_array.h99 PHP_FUNCTION(array_product);
H A Darray.c4091 PHP_FUNCTION(array_product) in PHP_FUNCTION() argument
H A Dbasic_functions.c3357 PHP_FE(array_product, arginfo_array_product)
/PHP-5.5/
H A DNEWS4349 . Fixed bug #48484 (array_product() always returns 0 for an empty array).
9104 . array_product() (Andrey)
9292 - Fixed bug #35014 (array_product() always returns 0). (Ilia)

Completed in 65 milliseconds