PHP Function List
multisort doesn't exist. Closest matches:
- array_multisort
- usort
- uasort
- uksort
- natsort
- sort
- list
- rsort
- asort
- ksort
- multipleiterator
- imap_list
- ldap_sort
- imap_sort
- curl_multi_select
- arsort
- krsort
- mb_stristr
- filter_list
- m_uwait
Site Search Results
-
成功时返回 TRUE, 或者在失败时返回 FALSE. array_multisort() 可以用来一次对多个数组进行排序,或者根据某一维或多维对多维数组进行排序。 关联( string )键名保持不变,但数字键名会被重新 ...
-
array_multisort() can be used to sort several arrays at once, or a multi-dimensional array by one or more dimensions. Associative (string) keys will be maintained, but numeric keys will be re-indexed.
-
If you need multi-key or other complex sorting, the fundamental problem is passing in parameters into the comparison routine. I suggest creating a global variable (_array_key_multisort_parameters or something long), and controlling the comparison routine in ...
-
There are no user contributed notes for this page.
-
array_pop array_multisort ... array_pad() returns a copy of the input padded to size specified by pad_size with value pad_value.
-
// This works like MYSQL 'ORDER BY id DESC, name ASC' // Note the quoting of string literal keys. echo('<pre>'); print_r (multisort ($a, "'name'", true, 0, "'id'", false, 2)); echo('</pre>');?>
-
Note about "morgan at anomalyinc dot com"'s comment: As of PHP4, you can just use array_multisort() to sort parallel or multi-dimensional arrays.
-
I had to use array_multisort instead and lose the natrual sorting. Natcasesort expects a single dimension array, so if your value is an array then it will report a "Array to string conversion" notice per key/value set.
-
What occurred to me to solve this problem was to extract the keys and values into separate arrays, then use array_multisort to get the desired order: Ex: <?php $kvpairs = array('noun' => 'thought', 'animal' => 'fish', 'abstract' => 'thought', 'food' => 'fish', ...
-
array_ multisort array_ pad array_ pop array_ product array_ push array_ rand array_ reduce array_ replace_ recursive array_ replace array_ reverse array_ search array_ shift array_ slice array_ splice array_ sum array_ udiff_ assoc array_ udiff_ uassoc

Other forms of search
To search the string "multisort" using other options, try searching:
- Only the documentation
- Only this mirror
- The entire php.net domain
- pear.php.net
- pecl.php.net
- The Bug DB
- php-general mailing list
- Internals mailing list
- Documentation mailing list
For a quick overview over all documented PHP functions, click here.
