Function

max

Synopsis

max(mixed ...): mixed

Area
Runtime\PS\Core\Math\maxareas

Description

max returns the highest value of $value and $values, or of the single array argument; values compare as PHP 8 compares them and max returns the value itself and max(1, "2", 3) is int(3).

Usage

$value = max($arguments);
$fn = max(...);

See also