Lines Matching refs:class
2 ReflectionClass::isSubclassOf() - fixed crash for unbound anonymous class
5 class X {
7 return new class() extends Base {};
10 class Base {}
12 $base = Base::class;
13 foreach (get_declared_classes() as $class) {
14 if (strpos($class, 'class@anonymous') === false) {
17 echo "Checking for $class\n";
19 $rc = new ReflectionClass($class);
24 // Should not show up in get_declared_classes until the anonymous class is bound.
33 Checking for class@%s