note 75750 modified in function.max by danbrown

From: Date: Tue, 22 Mar 2011 14:01:10 +0000
Subject: note 75750 modified in function.max by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-178090@lists.php.net to get a copy of this message
max on a an array with key/values <?php $tmp = array(1 => 5, 2=> 3); echo max($tmp); ?> this return 5, so the max is done on the values. --was-- max on a an array with key/values <? $tmp = array(1 => 5, 2=> 3); echo max($tmp); ?> this return 5, so the max is done on the values. http://php.net/manual/en/function.max.php

« previous php.notes (#178090) next »