Quote:
Originally Posted by Crow
I'm just curious: What would you prefer instead? No prefixes for temporary vars at all, instead using constructors for global vars?
|
Yeah something like that, and maybe a global prefix.
This would be my target result:
PHP Code:
function onCreated() {
a = 1;
b = 2;
otherFunc();
echo(a SPC b); // with change it echos "1 2" currently it echos "2 1"
}
function otherFunc() {
a = 2;
b = 1;
}