How the php array_multisort function works

The array_multisort function in php allows you to sort several arrays at the same time. How it works is:

  1. Sort first array by key value (depending on arguments)
  2. If there are any identical keys in the first array, sort these by the keys in the second array (assuming it is specified)
  3. etc.

The documentation for this isn't particularly clear.

 
/export0/wikidata/pages/it/blog/04_09_2013_17_00.txt · Last modified: 2013/09/04 17:09 by admin
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki