MCQs > IT & Programming > PHP > Given an array of images, $images = array('img12.png', 'img10.png', 'img2.png', 'img1.png'), which function will sort $images into ('img1.png', 'img2.png', 'img10.png', 'img12.png')?

PHP MCQs

Given an array of images, $images = array("img12.png", "img10.png", "img2.png", "img1.png"), which function will sort $images into ("img1.png", "img2.png", "img10.png", "img12.png")?

Answer

Correct Answer: natsort($images);

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