?
What will be the output of the following PHP code ?
What will be the output of the following PHP code ?
<?php
$x;
echo "$x";
?>
<?php
$x;
echo "$x";
?>
Answer & Solution
Correct Answer:
Option
C
Since the variable x is not initialised it is not storing any value, therefore nothing will be printed on the screen.
Join the Discussion
Login to post a comment or share your explanation.
Login