Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

find the highest number from array in php

// this code is from PRogrammerRimon, Email: nwscience98@gmail.com; date: 25-04-2022
$numbers = [1, 3,44,5,66,78,33];
$max = 0;
    foreach ($numbers as $v) {
         if($max < $v) {
             $max = $v;
         }
    }
    echo $max;
 
PREVIOUS NEXT
Tagged: #find #highest #number #array #php
ADD COMMENT
Topic
Name
6+9 =