add a note add a note

User Contributed Notes 1 note

abubakarwaryah786 at gmail dot com
1 year ago
if the value of the argument within the function is changed, it does not get changed outside of the function.

function add($a,$b){
    echo "The Sum of $a+$b= ", $a+$b, "<br />";
    echo "The sum is=" ,$a+$b , "<br />" ;    }
echo $a+$b;
To Top