Lines Matching refs:array_sum
2 Test array_sum() function : usage variations - 'input' array with unexpected values as array element
6 * Testing array_sum() with array having other than numeric entries
10 echo "*** Testing array_sum() : array with unexpected entries ***\n";
15 var_dump( array_sum($input) );
20 var_dump( array_sum($input) );
25 var_dump( array_sum($input) );
34 var_dump( array_sum($input) );
52 var_dump( array_sum($input) );
57 var_dump( array_sum($input) );
61 *** Testing array_sum() : array with unexpected entries ***
64 Warning: array_sum(): Addition is not supported on type string in %s on line %d
66 Warning: array_sum(): Addition is not supported on type string in %s on line %d
68 Warning: array_sum(): Addition is not supported on type string in %s on line %d
70 Warning: array_sum(): Addition is not supported on type string in %s on line %d
72 Warning: array_sum(): Addition is not supported on type string in %s on line %d
80 Warning: array_sum(): Addition is not supported on type array in %s on line %d
82 Warning: array_sum(): Addition is not supported on type array in %s on line %d
84 Warning: array_sum(): Addition is not supported on type array in %s on line %d
88 Warning: array_sum(): Addition is not supported on type MyClass in %s on line %d
90 Warning: array_sum(): Addition is not supported on type MyClass in %s on line %d
92 Warning: array_sum(): Addition is not supported on type MyClass in %s on line %d
94 Warning: array_sum(): Addition is not supported on type MyClass in %s on line %d
98 Warning: array_sum(): Addition is not supported on type string in %s on line %d
100 Warning: array_sum(): Addition is not supported on type string in %s on line %d
102 Warning: array_sum(): Addition is not supported on type array in %s on line %d