Specify array sort functions available in php ?

Answers were Sorted based on User's Feedback



Specify array sort functions available in php ?..

Answer / asha banu

Hi,
There are 11 functions available in php to sort array.
They are
1)asort()
2)arsort()
3)Ksort()
4)Krsort()
5)sort()
6)uasort()
7)uksort()
8)usort()
9)rsort()
10)natsort()
11)natcatsort()

Is This Answer Correct ?    28 Yes 4 No

Specify array sort functions available in php ?..

Answer / selvam

1)asort()
2)arsort()
3)Ksort()
4)Krsort()
5)sort()
6)uasort()
7)uksort()
8)usort()
9)rsort()
10)natsort()
11)natcatsort()

Is This Answer Correct ?    11 Yes 3 No

Specify array sort functions available in php ?..

Answer / boopathi

SORTS IN PHP:
sort()
rsort()
asort()
arsort()
ksort()
krsort()

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More PHP Interview Questions

Tell me what does the scope of variables means?

0 Answers  


What is the use of count() function in php?

0 Answers  


Where is session id stored?

0 Answers  


Whats the difference between include() and require()?

4 Answers  


how to get the value in script values

1 Answers  






Explain what is the static variable in function useful for?

0 Answers  


What is difference between md5 and SHA256?

0 Answers  


What is die in php?

0 Answers  


What is php session id?

0 Answers  


Create a PHP web script with the following attributes: on start, three HTML form elements are shown: an string input field, a checkbox field, a dropdown/pull down list with 5 elements and a submit button. On submission, the form should be redisplayed (while remaining all options/inputs as the user has selected/entered them). Additionally, the selections/inputs of the user should be displayed in text. Please solve this without the use of any external libraries.

1 Answers   Wipro,


=== represents what?

2 Answers   Ephron Systems, NetTrackers,


Tips to optimize the php script..... Suggestion for exception handling in php...

1 Answers  


Categories