/hphp/test/zend/good/ext/reflection/tests/bug47254.php
http://github.com/facebook/hiphop-php · PHP · 17 lines · 15 code · 2 blank · 0 comment · 0 complexity · b33ca509eca2ff41852286e94cc12a36 MD5 · raw file
- <?hh
- class A
- {
- protected function a() {}
- }
- class B extends A
- {
- public function b() {}
- }
- <<__EntryPoint>> function main(): void {
- $B = new B();
- $R = new ReflectionObject($B);
- $m = $R->getMethods();
- print_r($m);
- }