Name

min

Synopsis

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

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

Get Programming PHP 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.