View Single Post
  #4  
Old 06-20-2011, 03:41 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by Crow View Post
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() {
  
1;
  
2;
  
otherFunc();
  echo(
a SPC b); // with change it echos "1 2" currently it echos "2 1"
}

function 
otherFunc() {
  
2;
  
1;

__________________
Quote:
Reply With Quote