?
What will be the output of the following PHP code ?
What will be the output of the following PHP code ?
<?php
$var1 = 3;
print $var = ++$var;
?>
<?php
$var1 = 3;
print $var = ++$var;
?>
Answer & Solution
Correct Answer:
Option
A
$var = ++$var returns 1(success).
Join the Discussion
Login to post a comment or share your explanation.
Login