Page MenuHomePhorge

use-of-this-in-static-method.lint-test
No OneTemporary

use-of-this-in-static-method.lint-test

<?php
final class A {
public function u() {
$this->f();
}
public static function v() {
$this->f();
}
}
~~~~~~~~~~
error:3:13 XHP19 Class-Filename Mismatch
error:8:5 Use of $this in a static method.

File Metadata

Mime Type
text/x-php
Expires
Mon, Mar 24, 06:56 (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1214719
Default Alt Text
use-of-this-in-static-method.lint-test (216 B)

Event Timeline