?
What will be the output of the following PHP code?
What will be the output of the following PHP code?
span>
function one()
{
echo " this works";
function two()
{
echo "this too works";
}
}
one();
two();
?>
span>
function one()
{
echo " this works";
function two()
{
echo "this too works";
}
}
one();
two();
?>
Answer & Solution
Correct Answer:
Option
C
Two is declared in one and is called after one.Hence it works.
Join the Discussion
Login to post a comment or share your explanation.
Login