<?php namespace NS; class Foo { public static function s() { var_dump(__CLASS__); //var_dump(self::class); } } $x = new Foo(); $x->s();
You have javascript disabled. You will not be able to edit any code.