1.

What will be the output of the following PHP code ?
<?php
$n = 25;
function Res()
{
$n = 15;
echo "$n";
}
Res();
echo "$n";
?>

A. 25
B. 15
C. 1525
D. Error
E. None of these
Answer» D. Error


Discussion

No Comment Found

Related MCQs