usort

Sorts an array by values using a user-defined comparison function, losing original keys.

Parameters

main.php
PHP 8.4 | UTF-8
Ready
Line: 1, Column: 1

Return Values

Notes

Changelog

Related Functions

Compares two or more arrays and returns the values from the first array that are not present in any of the other arrays.

comparedifferencefilter

max

Math

Returns the highest value among the given values, or the highest value in an array.

maximumcomparehighest

min

Math

Returns the lowest value among the given values, or the lowest value in an array.

minimumcomparelowest