saintx adlı üyeden alıntı: mesajı görüntüle
<?php

class test
{
   public function a()
   {
       return new static();
   }

   public function b()
   {
      return 'hello';
   }
}

echo test::a()->b(); // hello
return new self; ile return new static(); arasında ciddi bi' fark var mı ?