(PHP 4, PHP 5, PHP 7)
Find highest value
mixed max ( array $values )
mixed max ( mixed $value1 , mixed $value2 [, mixed $... ] )
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.
Note:
Values of different types will be compared using the standard comparison rules. For instance, a non-numeric str