Finden Sie die höchste Zahl von Array in PHP
// this code is from PRogrammerRimon, Email: [email protected]; 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;
Homely Hamerkop