+ 1

Help me

I have please a code in php where the value elements of an array are improved of 1

28th Jan 2018, 7:13 PM
Giuseppe Crapa
Giuseppe Crapa - avatar
2 Answers
+ 20
u forgot to put link of your code or making it public //no one have access to it
28th Jan 2018, 7:20 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 1
function incr($value){ return ++$value; } $newArray = array_map($oldArray, 'incr');
28th Jan 2018, 7:25 PM
Draphar