blob: 4370c115a80dfe2a98cad6ec9589bfc6814f2b00 (
plain)
1
2
3
4
5
6
7
8
9
|
// Test reassignment which depends on a previously assigned variable,
// as this could be messed up if order of assignment evaluation
// changes
myval = 2;
i = 2;
myval = i * 2;
echo(myval, i); // Should output 4, 2
|