ExamVeda
Login
Home
Operators and Expressions in php
?

What will be the output of the following PHP code ?
<?php
$y = 2;
$w = 4;
$y *= $w /= $y;
echo $y, $w;
?>

Answer & Solution
Correct Answer: Option D
Expression is evaluated from right to left.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.