function fun($x, $y) { $x=4; $y=1; $z=($x+($y/$y)+$x) echo "$z"; } fun(3,2); output in php code code example
Example: function fun($x, $y) { $x=4; $y=1; $z=($x+($y/$y)+$x) echo "$z"; } fun(3,2); output in php code
<?php
function fun($x, $y)
{
$x = 4;
$y = 1;
$z = $x+$y/$y+$x;
echo "$z";
}
fun(3, 2);
?>