Find lowest value with the min() function:
The min() function returns the lowest value in an array, or the lowest value of several specified values.
Parameter | Description |
---|---|
array_values | Required. Specifies an array containing the values |
value1,value2,... | Required. Specifies the values to compare (must be at least two values) |
Return Value: | The numerically lowest value |
---|---|
Return Type: | Mixed |
PHP Version: | 4+ |