<?php interface InterfaceWithMethod { function foo(); } trait SimpleTrait { function foo() { return __CLASS__; } } class ClassWithTraitAndInterface implements InterfaceWithMethod { use SimpleTrait; } echo ReflectionMethod::export(ClassWithTraitAndInterface::class, 'foo'); echo (new ReflectionMethod(ClassWithTraitAndInterface::class, 'foo'))->getPrototype();
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`