In practically every language I actively use, there are two functions named 'min' and 'max' that for the moment are the bane of my existence.

Both functions choose the min or the max of their parameters respectively.

However, often you'll find yourself using these functions to define a minimum or maximum. At this point the naming becomes horribly ambiguous, as you use the min function to define a maximum value (upper bound, in this case 10)

$foo = min($bar, 10);

or the max function to define a minimum value

$foo = max(0, $bar);

Some less ambiguous names could have been 'lowest' and 'highest', though given how widespread this crummy min/max naming convention is, I doubt we'll ever see the two of these find popular usage.