Is the output of this code in descending order, shown vertically, and with spaces between numbers? And what is the output?php$numbers = array(4,6,2,22,11);sort($numbers);$arrlength = count($numbers);for($x = 0; $x < $arrlength; $x++){ echo $numbers[$x]; echo ''; }

🎲 Try a Random Question  |  Total Questions in Quiz: 81  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
PHP Test — practice the complete quiz, review flashcards, or try a random question.

PHP MCQs For LinkedIn Skill Assessments.


Is the output of this code in descending order, shown vertically, and with spaces between numbers? And what is the output?<br>php<br>$numbers = array(4,6,2,22,11);<br>sort($numbers);<br>$arrlength = count($numbers);<br>for($x = 0; $x < $arrlength; $x++){<br> echo $numbers[$x];<br> echo '<br />';<br> }<br>