Answer the question
In order to leave comments, you need to log in
How to make such a function with arrays?
Good afternoon, I have such a question, there are two arrays in which the number of keys is the same (but the total number may change, but they will always be equal to each other)
array(3) {
[0]=> string(2) "59"
[1]=> string(2) "60"
[2]=> string(2) "19"
} array(3) {
[0]=> string(1) "3"
[1]=> string(1) "2"
[2]=> string(1) "1"
}
Answer the question
In order to leave comments, you need to log in
https://www.php.net/manual/en/function.array-map.php
https://ideone.com/81xf3V
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question