PHP Functions - Return values


Code:
<?php

function add($x,$y)

{
$total=$x+$y;
return $total;
}

echo "1 + 16 = " . add(1,16);

?>

Out put: 1 + 16 = 17