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
asort « Data Structure « PHP
PHP
Data Structure
asort
1.
After using asort()to return the array's elements to their original order
2.
asort( ) function sorts array by its values while preserving the keys
3.
asort() Constants
4.
asort() function works in the same way as sort() and preserves the array's original key/value associations.
5.
asort() function: array indexes maintain their original association with the elements.
6.
Sorting with asort()