<?php function add($a,$b){ $c= $a + $b; echo "$c"; } add($a,$b); ?>
通过一个函数实现两个整数,然后通过调用这个函数来实现任意两个整数相加