Answer the question
In order to leave comments, you need to log in
How to add values by key?
There is an array $arr, there is a loop in which I get the key and value. You need to add a key (string) and a value (int) to the array, if the key matches, the value should be added to the new value.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question