Zend PHP 5.3 Certification Exam


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
  • Question 9/43

    You have got the following array after applying some sorting operation:

    
    Array
    (
         [0] => book1.pdf
         [1] => book11.pdf
         [2] => book12.pdf
         [3] => book2.pdf
    ) 
    
    However, you wanted to sort the array in the following format:
    
    
    Array
    (
         [0] => book1.pdf
         [3] => book2.pdf
         [1] => book11.pdf
         [2] => book12.pdf
    )
    
    Which of the following array sorting functions should you use to accomplish the task?