Related Functions

max

PHP 4.0+

Finds and returns the highest value from multiple parameters or a single array, using PHP's standard comparison rules for different data types.

Description

The max() Finds and returns the highest value from multiple parameters or a single array, using PHP's standard comparison rules for different data types.

Example