diff --git a/reference/math/functions/min.xml b/reference/math/functions/min.xml index 9542798caf..cbac548e78 100644 --- a/reference/math/functions/min.xml +++ b/reference/math/functions/min.xml @@ -1,5 +1,5 @@ - + @@ -25,7 +25,8 @@ In the first variant, you need at least two parameters and min returns the lowest of these values. - You can compare an unlimited number of values. + You can compare an unlimited number of values. If one of the + variables is undefined, min will fail. In the second variant, min @@ -36,7 +37,37 @@ will be treated as floats, and a float is returned. If none of the values is a float, all of them will be treated as integers, - and an integer is returned. + and an integer is returned. Upon failure, min + returns NULL and an error of level E_WARNING + is generated. + + + + + +]]> + + + + + See also max.