Q. what is the output of below program?
Code:
<?php
$arr = array(13, 14, 22, 11, -3);
sort($arr);
$arrLen = count($arr);
for($x = 0; $x < $arrLen; $x++) {
echo " ".$arr[$x];
}
?>
β
Correct Answer: (A)
-3 11 13 14 22