+ 6
<?php $x = 50; $x += 100; echo $x; ?> what the value of x
11 Respostas
+ 15
150
$x+=100; is equal to $x=$x+100
it's a shortened way of using assignment operator
+ 6
Good
+ 5
150 its ok
+ 4
150
+ 3
150
+ 3
You do realize you could just test the code in the code playground?
+ 3
150
+ 3
150
+ 3
result is 150 (50 + 100)
+ 3
150
+ 1
150