echo
"Before the function, Number = ". $Number ."<br />"; //
Store
the result of Sum in $Number
$Number = Sum(3, 4);
echo "After the function,
Number = " . $Number ."<br />";
?>
Display:
Before the function, Number = 0 After
the function, Number = 7
We first print
out the value of $Number that is still set to the original value of
0.
When we set $Number equal to the
function Sum,
$umber is set equal to Sum's result.
In
this case, the result was
3 + 4 = 7, which was stored in $Number.
All photograph,logos, articles, comments and trademarks -- etc in this site are property of their respective owners.All the rest (c) 2006 by PhpMyanmar.com.