We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
class Foo { public static function bar() { echo get_called_class()."\n"; } } class Baz extends Foo { } $class = new ReflectionClass('Baz'); $method = $class->getMethod('bar'); $method->invoke(null); // Zend prints 'Baz', HHVM prints 'Foo'
This is likely related to something contained in #1600
The text was updated successfully, but these errors were encountered:
Thanks for reporting this. Agree with the assessment on #1600.
Sorry, something went wrong.
Add tests for invoke() and invokeArgs() using correct class
732aaa6
See facebook/hhvm#1728
Use class passed to ReflectionMethod for invokation
bb10c2e
Fixes facebook#1728
Fix facebook#1728 so that inherited methods invoked via ReflectionMet…
1898cb7
…hod are called with the correct class
967bfed
No branches or pull requests
This is likely related to something contained in #1600
The text was updated successfully, but these errors were encountered: