PHP function min()

Availability in PHP 4.0

Find lowest value

Parameters

Parameter Data type Default value Note
$value1 `array mixed` not
$value2 mixed null,
$values mixed not

Return values

mixed

min returns the numerically lowest of the parameter values.

Additional resources

Official documentation of the min function

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.