?
What will be the output of the following PHP code ?
What will be the output of the following PHP code ?
<?php
$var1 = 0;
$var1 = $var1++ + 5;
echo $var1;
?>
<?php
$var1 = 0;
$var1 = $var1++ + 5;
echo $var1;
?>
Answer & Solution
Correct Answer:
Option
A
Operator precedence followed.
Join the Discussion
Login to post a comment or share your explanation.
Login