Claim your Biolink Click Here
2 like 0 dislike
208 views
$array = array(5,4,14,6,8,33,1,75);
in Education & Reference by (820 points) | 208 views

1 Answer

0 like 0 dislike
Best answer
 function sum($value){
    return($value + 2);
  }

  print_r(array_map("sum",$array));
by (4.7k points)

Related questions

2 like 0 dislike
2 answers
1 like 0 dislike
1 answer
asked Jun 17, 2021 in Education & Reference by Simmi (820 points) | 286 views
0 like 0 dislike
1 answer
asked Aug 2, 2018 in Education & Reference by Sam (1.6k points) | 253 views
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
0 like 0 dislike
2 answers
asked Jun 27, 2019 in Education & Reference by Simmi (820 points) | 278 views
0 like 0 dislike
1 answer

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

1,310 questions
1,471 answers
569 comments
4,809 users