English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Estemax()
La función devuelve el valor máximo del array.
max(arr_values); o max(val1,val2,...);
arr_values-es un array con valores.
val1,val2-los valores a comparar.
Estemax()
La función devuelve el valor máximo del array.
<?php echo(max(70, 89, 12, 34, 23, 66, 34)); ?>
Resultado de salida
89
Veamos otro ejemplo-
<?php echo(max(array(70, 89, 12, 34, 23, 66, 34); ?>
Resultado de salida
89