<?php$i = 0;$x = $i++; $y = ++$i;print $x; print $y; ?>
<?php
$i = 0;
$x = $i++; $y = ++$i;
print $x; print $y;
?>
02
12
01
21
View Answer
Workspace
Share
Copy Text
Copy URL
Answer : Option A
Explanation :
First case i is incremented after setting x to i.
Be The First To Comment