MakeItSimple
Toggle
Home
C language
FAQs
Programs
HTML
HTML4
HTML5
CSS
CSS2
CSS3
Javascript
FAQs
Programs
PHP
FAQs
Programs
JQuery
FAQs
Programs
AJAX
FAQs
Programs
Bootstrap
FAQs
Programs
Website
Programs in PHP
6. Program to sort elements in an array in descending order.
<?php $arr = array(10,5,8,3,45); rsort($arr); print_r($arr); ?>
Output :
Array ( [0] => 45 [1] => 10 [2] => 8 [3] => 5 [4] => 3 )
UI development
Test Your Skills
PHP and Mysql
HTML5 with Bootstrap
Javascript
jQuery and AJAX
SEO and SMO
Web Designing
Father of PHP
Rasmus Lerdorf
Born:
November 22, 1968, Greenland
Follow @phpkishore
Makeitsimple.co.in