//lets think that we have two input variables $a and $b ..and those are numbers.. //passing into the function.
<?php
function calculation($a,$b)
{
echo $a+$b;
}
//calling function
calculation(7,3);
//then we get the output as 10
?>
//but how to pass "+" to the function
<?php
function calculation($a,$b,$symbol)
{
echo $a."$symbol".$b;
}
calculation(7,3,"+");
?>
then it gives output as "7+3"
i know that i am just doing concardination
how to pass " + " for calculation purpouse