Exam4Training

What is the output of the following code?

What is the output of the following code?

function increment (&$val)

{

return $va I + 1;

$a= 1;

echo increment ($a);

echo increment ($a);

Answer: 22

Exit mobile version