I do not quite understand what the $ this "catches".
In case we have a code like this, for example:
<?php
class Teste {
public $testando;
public function VamosTestar(){
this->$testando = false;
}
}
In the case there, $ this is "replacing" what? A test class? If I do this, will it be the same thing?
<?php
class Teste {
public $testando;
public function VamosTestar(){
Teste->testando = false;
}
}
In case, I think not, put in my NetBeans returned me an error. But what would I use if I did not want to use $ this?