简单教程
提交运行
代码编辑器:
<?php $a = array(5,15,25); echo array_sum($a);
x
1
<?php
2
3
$a
=
array
(
5
,
15
,
25
);
4
echo
array_sum
(
$a
);
5
运行结果: