English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Thismin()
The function returns the minimum value of the array.
min(arr_values); or min(val1,val2,...);
arr_values-has an array with values.
val1,val2-the values to be compared.
Thismin()
The function returns the minimum value of the array.
<?php echo (min(70, 89, 12, 34, 23, 66, 34)) ?>
Output Result
12
Let's look at another example-
<?php echo (min(array(70, 89, 12, 34, 23, 66, 34)) ?>
Output Result
12