Why use VAR in php if we can declare variables without VAR?
We can do this: $teste
so why do that? var $teste
For example, is it the same thing I do this?
class Caneta {
var $modelo;
var $cor;
}
And this:
class Caneta {
$modelo;
$cor;
}