i need some help.
I have an array ($array) - Array ( [0] => 1374410400 [1] => 1374394500 [2] => 1374384000 [3] => 1374304800 [4] => 1374291900 ).
And the operation that will be used in array is defined by the user. The operation could be array_sum, count and end.
I want to "merge" this two (array + operation), like this $operation.'('.$array.')'.
When I echo this $operation.'('.$array.')'. only appears count(Array).
But when i write "count($res)" appears the result.
Anyone knows the answer?