blob: 9d7cf50a1515b58389f91c6e349cb8fbbb99cf72 (
plain)
1
2
3
4
5
6
7
8
9
|
// Test reassignment where another variable has used the previous
// value before the reassignment. This could get messed up if order of
// assignment evaluation changes
myval = 2;
i = myval;
myval = 3;
echo(myval, i); // Should output 3, 2
|