_variablename and variablename
Posted: Wed Dec 05, 2007 10:55 am
Can somebody please explain what is the significance of using underscore with the variable name. I mean what is the difference in the following two statements.
int _myage;
int myage;
Let me explain my view. In the language C it has some instructions for the compiler for the handling of this variable. PHP is not a compiler based language. Then what is the use of underscore here.
int _myage;
int myage;
Let me explain my view. In the language C it has some instructions for the compiler for the handling of this variable. PHP is not a compiler based language. Then what is the use of underscore here.