Lines Matching refs:class
2 ReflectionClass::isSubclassOf() - fixed crash for unbound anonymous class
5 if (getenv('SKIP_PRELOAD')) die('skip Anon class is linked during preloading');
9 class X {
11 return new class() extends Base {};
14 class Base {}
16 $base = Base::class;
17 foreach (get_declared_classes() as $class) {
18 if (strpos($class, '@anonymous') === false) {
21 echo "Checking for $class\n";
23 $rc = new ReflectionClass($class);
28 // Should not show up in get_declared_classes until the anonymous class is bound.