MCQs > IT & Programming > PHP > Best way to get the index(es) of the highest value(s) in an array?

PHP MCQs

Which of the following is the best way to get the index(es) of the highest value(s) in an array?

Answer

Correct Answer: $maxs = array_keys($array, max($array))

Explanation:

Note: This Question is unanswered, help us to find answer for this one

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it