<?php
function sum($x, $y)
{
$total = $x + $y;
return $total;
}
$n = 0;
echo "<div style='font-size:22px;color:#0000cc;'>";
echo "Before the function, n = ". $n ."<br>";
$n = sum(3, 4);
echo "After the function, n = " . $n;
echo "</div>";
?>
COPYRIGHT © 2015-2024 IHYPRESS.NET. A DIVISION OF IHY PRESS. ALL RIGHTS RESERVED.