Home
PHP
Chart
Class
Components
Cookie Session
Data Structure
Data Type
Date
Design Patterns
Development
DNS
Email
File Directory
Form
Functions
Graphics Image
HTML
Language Basics
Login Authentication
Math
MySQL Database
Network
Operator
PDF
Reflection
Statement
String
Utility Function
Web Services SOAP WSDL
XML
Menu
arsort « Data Structure « PHP
PHP
Data Structure
arsort
1.
Reversing an Array Using arsort()
2.
arsort( ) function reverse sorts it by its values while preserving the keys
3.
arsort() function maintains the original index association and sorts the elements in reverse order.
4.
Sorting with arsort()