📜  php 排序 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:53.326000             🧑  作者: Mango

代码示例6
PHP function sort(array &$array, int $flags) bool
---------------------------------------------
Sort an array
  
Parameters:
array--$array--The input array.
int--$flags--[optional] The optional second parameter sort_flags may be used to modify the sorting behavior using these values. 
Sorting type flags: SORT_REGULAR - compare items normally (don't change types).

Returns: true on success or false on failure.