--TEST-- ReflectionMethod::isDeprecated(): Implementing a deprecated abstract method. --FILE-- test(); $r = new ReflectionMethod('P', 'test'); var_dump($r->isDeprecated()); $r = new ReflectionMethod('Clazz', 'test'); var_dump($r->isDeprecated()); ?> --EXPECTF-- bool(true) bool(false)