Name

max

Synopsis

mixed max(mixed value1[, mixed value2[, ... mixed valueN]])

If value1 is an array, returns the largest number found in the values of the array. If not, returns the largest number found in the arguments.

Get Programming PHP, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.