There is such code:
class main { const MYCONST = "Hello world"; public function printout() { echo $this::MYCONST, "\n"; echo self::MYCONST; } } $obj = new main; $obj->printout(); What is the difference between calls
$this::MYCONST; self::MYCONST;
$thisfromselfdiffers? - Naumovstatic::MYCONST;) - xEdelweiss