If the first and only parameter is an array, max() returns the highest value in that array. If at least two parameters are provided, max() returns the biggest of these values.

declaration of max

mixed max ( array $values )

test max online

share max

comments for max

be the first

No comments so far for max(). Leave yours as first below.


Leave your comment