Me refiero a un método:
Código PHP:
Ver originalclass StaticTest
{
public function foo() {}
public static function staticfoo() {
$this->foo();
}
}
StaticTest:foo(); // E_STRICT error
StaticTest:staticfoo(); // FATAL_ERROR using $this when not in context
Saludos.