?
What will be the output of the following PHP code ?
What will be the output of the following PHP code ?
<?php
$y = 2;
$w = 4;
$y *= $w /= $y;
echo $y, $w;
?>
<?php
$y = 2;
$w = 4;
$y *= $w /= $y;
echo $y, $w;
?>
Answer & Solution
Correct Answer:
Option
D
Expression is evaluated from right to left.
Join the Discussion
Login to post a comment or share your explanation.
Login