|
Posted by Lars Eighner on 10/10/07 10:11
In our last episode,
<1192010456.828186.125800@v3g2000hsg.googlegroups.com>,
the lovely and talented Gandalf
broadcast on comp.lang.php:
> Hi everyone, I'm looking for a function which combine int values from an
> array (or a string).
> example:
> $x[0]=5;
> $x[1]=2;
> $x[2]=3;
> $y= *needed_function($x);
> echo $y // suppose to return 10
You know if you even glanced at the function index in the manual,
array_sum would have jumped out at you.
--
Lars Eighner <http://larseighner.com/> <http://myspace.com/larseighner>
Countdown: 468 days to go.
What do you do when you're debranded?
Navigation:
[Reply to this message]
|