<?php class Foo { protected self $coo; } $rc = new ReflectionClass(Foo::class); $rpp = $rc->getProperty('coo'); var_dump($rpp->getType()->getName());
You have javascript disabled. You will not be able to edit any code.