📜  在php代码示例中查找数组的最大元素

📅  最后修改于: 2022-03-11 14:54:27.058000             🧑  作者: Mango

代码示例1
 $max2)
    {
      $max2 = $array[$i];
    }
}
echo "Maximum value = ".$max1;
echo "
"; 
echo "Second maximum Value =".$max2;
?>