<?php$y = 2;if ($y-- == ++$y){ echo $y;}?>
<?php
$y = 2;
if ($y-- == ++$y)
{
echo $y;
}
?>
2
1
3
no output
View Answer
Workspace
Share
Copy Text
Copy URL
Answer : Option A
Explanation :
First $y = 2 is compared to and then decremented, then incremented and compared to $y = 2.
Be The First To Comment