minFind lowest value
&reftitle.description;
mixedminarrayvaluesmixedminmixedvalue1mixedvalue2mixed...
If the first and only parameter is an array, min
returns the lowest value in that array. If at least two parameters are
provided, min returns the smallest of these values.
PHP will evaluate a non-numeric string as
0 if compared to integer, but still return the string if it's seen as the
numerically lowest value. If multiple arguments evaluate to
0, min will return the lowest
alphanumerical string value if any strings are given, else a numeric
0 is returned.
&reftitle.parameters;
values
An array containing the values.
value1
Any comparable
value.
value2
Any comparable
value.
...
Any comparable
value.
&reftitle.returnvalues;
min returns the numerically lowest of the
parameter values.
&reftitle.examples;
Example uses of min
]]>
&reftitle.seealso;
maxcount