用PHP编写一个自定义函数,用于从一组整数中找出取大值

2025-02-24 06:28:36
推荐回答(1个)
回答1:

$str = '12,44,5632,234,233';
$array = explode(',',$str);
echo max($array);