note 94430 deleted from function.max by danbrown

From: Date: Wed, 04 Nov 2009 15:47:43 +0000
Subject: note 94430 deleted from function.max by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-162399@lists.php.net to get a copy of this message
Note Submitter: loplyg at gmail dot com ---- Re johnmott59 at hotmail dot com Since max() can be a bit slow, you may be better doing the following if you want to find the max out of several 1-dimensional arrays: $d1 = array(1,5,6,9); $d2 = array(10,12,15,19); $d3 = array(1,2); $myMax = max( array_merge($d1, $d2, $d3) );

« previous php.notes (#162399) next »