--TEST-- ReflectionClass::getMethods() --CREDITS-- Robin Fernandes Steve Seear --FILE-- getMethods()); } ?> --EXPECTF-- Reflecting on class pubf: array(2) { [0]=> object(ReflectionMethod)#%d (2) { ["name"]=> string(1) "f" ["class"]=> string(4) "pubf" } [1]=> object(ReflectionMethod)#%d (2) { ["name"]=> string(1) "s" ["class"]=> string(4) "pubf" } } Reflecting on class subpubf: array(2) { [0]=> object(ReflectionMethod)#%d (2) { ["name"]=> string(1) "f" ["class"]=> string(4) "pubf" } [1]=> object(ReflectionMethod)#%d (2) { ["name"]=> string(1) "s" ["class"]=> string(4) "pubf" } } Reflecting on class protf: array(2) { [0]=> object(ReflectionMethod)#%d (2) { ["name"]=> string(1) "f" ["class"]=> string(5) "protf" } [1]=> object(ReflectionMethod)#%d (2) { ["name"]=> string(1) "s" ["class"]=> string(5) "protf" } } Reflecting on class subprotf: array(2) { [0]=> object(ReflectionMethod)#%d (2) { ["name"]=> string(1) "f" ["class"]=> string(5) "protf" } [1]=> object(ReflectionMethod)#%d (2) { ["name"]=> string(1) "s" ["class"]=> string(5) "protf" } } Reflecting on class privf: array(2) { [0]=> object(ReflectionMethod)#%d (2) { ["name"]=> string(1) "f" ["class"]=> string(5) "privf" } [1]=> object(ReflectionMethod)#%d (2) { ["name"]=> string(1) "s" ["class"]=> string(5) "privf" } } Reflecting on class subprivf: array(2) { [0]=> object(ReflectionMethod)#%d (2) { ["name"]=> string(1) "f" ["class"]=> string(5) "privf" } [1]=> object(ReflectionMethod)#%d (2) { ["name"]=> string(1) "s" ["class"]=> string(5) "privf" } }