PHP - Operators
What will be the output of this PHP code?
$x = 15;
$x /= 3;
$x -= 2;
echo $x;
$x = 15;
$x /= 3;
$x -= 2;
echo $x;
$x /= 3;, $x becomes 5.$x -= 2; subtracts 2, so $x becomes 3.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions