Warning: Invalid argument supplied for foreach() in /home/jihswbiz/public_html/t6.gwilt.org/refDox.php on line 212
Docs-highestVal

 

ReLoad

Keys


Functions

arraybrowsercolorcookiedatetimeDBdebugdeviceDSTequiverrorflagsfontformatgeo
holidayhtmlisjsonmathparsePHPprintsearchsortstringtabletexttracetype
VOTDweatherxml

Function  highestVal   Lines 1271-1283 (12 lines) file  utils.php   Last mod: Fri 2021-05-14 21:45:07

function highestVal $ar )
        {
#-k     array
#-      return the key of the highest value in the array

        
$val '';
        foreach ( 
$ar as $k => $e )
                {
                if (!
strlen($val)  or  ($e $val)) { $h $k$val $e; }
                }
        return 
$h;
        }

?>