← All docs

max()

Find highest value.

max()

function max(mixed $value, ...$values): mixed

Find highest value.

Parameters:

  • $value (mixed)
  • ...$values — variadic: collects excess arguments into $values.

Returns: mixed

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how max is implemented in the compiler, see the internals page.