<?php //Test 1 function sum($a,$b){ $total=$a+$b; return $total; } echo "2 + 6 x 2 = " .sum(2+6*2); // =14 //Test 2 echo '<br /> = '; $x = 13; echo $x+1; //=14 ?>