2019/2/4 遅延静的束縛

http://php.net/manual/ja/language.oop5.late-static-bindings.php

にある例2 static:: のシンプルな使用法を少しずつ変えて動きを見てみる。

<?php
declare(strict_types=1);
ini_set( 'display_errors', '1' );
error_reporting(E_ALL);

class A {
    public function who() {
        echo __CLASS__;
    }
    public function test() {
        static::who(); // これで、遅延静的束縛が行われます
	//$this->who();
    }
}

class B extends A {
    public