★ wanayoo — archive 1999 http://fr.php.net/manual/hu/function.max.phpNouvelle recherche | Portail wanayoo
PHP Tuesday, March 20, 2001  
downloads | documentation | faq | support | reporting bugs | links 

search for in the  

lookup:
PHP KézikönyvPHP Kézikönyv
Math.Math.
 absabs
 acosacos
 asinasin
 atanatan
 atan2atan2
 base_convertbase_convert
 bindecbindec
 ceilceil
 coscos
 decbindecbin
 dechexdechex
 decoctdecoct
 deg2raddeg2rad
 expexp
 floorfloor
 getrandmaxgetrandmax
 hexdechexdec
 lcg_valuelcg_value
 loglog
 log10log10
 maxmax
 minmin
 mt_randmt_rand
 mt_srandmt_srand
 mt_getrandmaxmt_getrandmax
 number_formatnumber_format
 octdecoctdec
 pipi
 powpow
 rad2degrad2deg
 randrand
 roundround
 sinsin
 sqrtsqrt
 srandsrand
 tantan

previouslog10
minnext

Last updated: Sat, 17 Mar 2001
view this page in English | Brazilian Portuguese | Czech | Dutch | French | German | Hungarian | Italian | Japanese | Korean | Spanish | Plain HTML

max

(PHP 3, PHP 4 )

max -- Find highest value

Description

mixed max (mixed arg1, mixed arg2, mixed argn)

max() returns the numerically highest of the parameter values.

If the first parameter is an array, max() returns the highest value in that array. If the first parameter is an integer, string or double, you need at least two parameters and max() returns the biggest of these values. You can compare an unlimited number of values.

If one or more of the values is a double, all the values will be treated as doubles, and a double is returned. If none of the values is a double, all of them will be treated as integers, and an integer is returned.

previouslog10
minnext

Last updated: Sat, 17 Mar 2001
add note | about notes

show source | credits | mirror sites:  

Copyright © 1998-2001 The PHP Group
All rights reserved.
This mirror generously provided by: L'Université Michel de Montaigne Bordeaux III
Last updated: Tue Mar 20 08:02:02 2001 MET