programming-examples/php/_Basics/Program to sort elements in an array in descending order..php
2019-11-15 12:59:38 +01:00

7 lines
74 B
PHP

<?php
$arr = array(10,5,8,3,45);
rsort($arr);
print_r($arr);
?>