--TEST-- ReflectionClass::isSubclassOf() - fixed crash for unbound anonymous class --SKIPIF-- --FILE-- isSubclassOf($base)); echo "\n"; } }; // Should not show up in get_declared_classes until the anonymous class is bound. $check(); echo "After first check\n"; X::main(); $check(); echo "Done\n"; ?> --EXPECTF-- After first check Checking for Base@%s true Done